API reference / Webhooks and integrations
Rotate a signing secret
POST/v1/orgs/{orgId}/webhooks/{webhookId}/rotate
Mint a new signing secret. The previous secret keeps verifying for 24 hours (webhooks:manage, AAL2).
When to use it
Rotate periodically or after a leak. For 24 hours deliveries carry signatures for both secrets.
Before you call it
- Permission
webhooks:manage - Second factorRequired for browser sessions. An API key with the scope replaces it.
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
webhookIdpath, uuidrequired | A webhook endpoint id. |
Response 200
The new signing secret
| Field | What it does |
|---|---|
signing_secretstringrequired | No description in the spec yet. |