Skip to main content
POST
Rotate the signing secret

Authorizations

Authorization
string
header
required

Your API key: sk_test_… (sandbox) or sk_live_… (production).

Path Parameters

endpointId
string
required

Webhook endpoint id.

Example:

"whe_k3m9x2pq7vn4t8wz1bcd"

Response

The new secret.

signingSecret
string
required

Standard Webhooks secret. Base64-decode the part after whsec_ for the HMAC key (libraries do this for you).

Example:

"whsec_Gq3n4yK8sZ2mV7xR1tL9wC5pB6hD0fJ4aE8uN2kM3oY="