Subscriptions
Rotate signing secret
Mint a new signing secret and invalidate the previous one
POST
Rotate signing secret
Mints a new
whsec_… secret and returns it once. The previous secret is invalidated immediately — there is no overlap window.
If you need overlap (e.g. rolling deploys), use this flow:
- Pause the subscription.
- Rotate the secret here.
- Deploy your verifier with the new secret.
- Unpause the subscription via Update.
Scope
webhooks:write · rate-limitedHeaders
API key.
Path parameters
Subscription UUID.
Response
Subscription UUID.
The new signing secret in plaintext. Returned only here — store it immediately.
First few characters of the new secret.
Rotate signing secret