Rotate Webhook Secret
POST/api/v1/webhooks/:webhook_id/rotate-secret
Replace the webhook's signing secret and return the new one.
The new secret is returned only in this response. The old secret stops working at once: every delivery signed from now on, including retries of earlier events, uses the new one, so update your endpoint right after rotating.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
OK
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error