How to receive webhooks
1. Create an endpoint
In your application, create a route that acceptsPOST requests over HTTPS. For local development, expose your endpoint with a tunnel such as ngrok or Cloudflare Tunnel.
2. Configure the webhook URL
Webhook URLs are configured in different places depending on the event type.3. Verify the signature
Every request is signed with anX-Signature-V2 header. Verify it before trusting the payload. See Verify webhook requests.
4. Handle the event
Inspect the envelopetype and route to the right handler. Each event’s data schema is documented on its own page in this section.
