Webhooks
Rotate the signing secret
POST
Replaces the endpoint's signing secret. Events signed after this request use the new secret, which is returned only once.
Requires the webhooks:manage scope.
apiKeyheader
X-API-Key<token>Your API key, from Settings → API access in the dashboard.
endpoint_id*stringThe webhook endpoint's id.
Format
uuidThe new secret.
application/jsoncurl -X POST "https://example.com/webhooks/endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08/rotate-secret"{ "id": "96142427-37a9-4881-94fb-96b9f8f49610", "secret": "whsec_Qm2v..."}