Webhook Security
This guide explains how webhook signing works, how to verify requests, and how to manage secrets.
Overview
How It Works
Rotation behavior
Getting Your Webhook Secret


Create or rotate your secret with API
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Webhook secret rotated
application/json
webhook_secretstringOptional
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
post
/webhook-secret:rotateVerification Steps
Python Example
JavaScript (Node.js) Example
Best Practices
Last updated