v2

latestSwagger 2.02026-08-08121119168.6 KB
Webhooks

Rotate a webhook signing secret

Issues a new signing secret and returns it. The previous secret stops verifying immediately, so update your receiver before rotating in production. This is the only other time the secret is returned.

post/v1/webhooks/{id}/rotate-secret

Path parameters

idinteger required

Numeric webhook ID.

Response

Rotate a webhook signing secret

idinteger required

Numeric ID of the webhook whose secret was rotated.

signing_secretstring required

The new signing secret. The previous one stops verifying immediately.