Webhooks · API Reference
Rotate Signing Secret
Returns a new `signingSecret` and immediately invalidates the old one. Update your server with the new secret before calling this — deliveries will fail verification until you do.
POST
/v1/webhooks/{id}/rotate-secretScope:
webhooks:writePath Parameters
idstringrequired
The webhook ID.
Responses
{
"id": "whk_xxxxxxxxxxxx",
"signingSecret": "whsec_yyyyyyyyyyyyyyyy"
}PlaygroundPOST
AuthorizationPath
{id}required