Skip to main content
Webhooks

Rotate webhook secret

Generates a new signing secret for the endpoint. The new secret is returned once in this response and cannot be read again; the previous secret stops being used immediately.

POST
/webhooks/{webhookEndpointId}/rotate-secret
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

webhookEndpointIdintegerrequired

The webhook endpoint ID

Response

application/json
dataobjectrequired
messagestringrequired