Graphon API

Rotate a webhook secret

Makes a new signing secret and shows it once. The previous secret keeps signing for the overlap, 24 hours by default. A member manages their own webhooks, a workspace key manages workspace webhooks, and an Admin manages every webhook.

POST/v1/workspaces/{workspaceId}/webhooks/{webhookId}/rotate-secret

Authentication

Send your Graphon API key with every request. The value is the whole API key that Graphon showed when you created it. See Authentication.

Authorization: Bearer <GRAPHON_API_KEY>

Path parameters

The workspace id.

webhookIdstring

The webhook id.

Request body

How long the previous secret keeps signing: 0 to 604800 (7 days). Default 86400. 0 stops it at once.

Was this page helpful?
View as Markdown