Rotate webhook signing secret
POST
https://app.speybooks.com/api/v1/webhook-endpoints/{id}/rotateReplace the signing secret for a webhook endpoint. The new secret takes effect immediately — update your verification code before or immediately after rotation.
Unlike API key rotation, there is no grace period. The old secret stops working as soon as the new one is set.
Path parameters
id integer requiredWebhook endpoint ID whose secret to rotate.
Response
200 Signing secret rotated. Returns the new secret. Update your verification code immediately.
Show response fields
id integermessage stringsecret stringError codes
400 Invalid endpoint ID.
404 Webhook endpoint not found.