Skip to main content
POST
Rotates the signing secret for a webhook subscription. A new signingSecret (whsec_...) is generated and returned in full, once. The previous secret stops verifying deliveries immediately.

Path parameters

string
required
The webhook ID to rotate the signing secret for.

Body

No request body.
Returns 201 Created.
The previous signing secret stops verifying deliveries immediately. Update every integration that verifies this webhook with the new signingSecret in lockstep. The full secret is returned only here — store it securely now, it cannot be retrieved later. See Verifying the signature.

Response fields

boolean
object