Rotate a webhook secret
POST
/v1/workspaces/{workspaceId}/webhooks/{webhookId}/rotate-secretMakes 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.
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
workspaceIdstringThe workspace id.
webhookIdstringThe webhook id.
Request body
previousSecretExpiresInSecondsnumber (optional)How long the previous secret keeps signing: 0 to 604800 (7 days). Default 86400. 0 stops it at once.
Was this page helpful?