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-secret
Scope:webhooks:write
Path Parameters
id
stringrequired

The webhook ID.

Responses
{
  "id": "whk_xxxxxxxxxxxx",
  "signingSecret": "whsec_yyyyyyyyyyyyyyyy"
}
PlaygroundPOST
Authorization

Path

{id}required