v1

latestOpenAPI 3.1.02026-08-042453938.9 KB
Webhooks

Rotate webhook secret

Generate a new HMAC secret for signature verification. Requires a secret key (sk_).

Important: The new secret is only returned once. Update your webhook handler immediately to use the new secret.

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

Path parameters

idstring required

Webhook ID

Response

New secret generated

secretstring

New HMAC secret (only shown once!)

messagestring