- verify the signature on the raw request body
- check the application and environment
- echo verification challenges
- save events in SQLite before returning a successful response, with a unique event-ID constraint that prevents duplicate inbox entries
Configure an example
Download the example for your language from the source links below. Then create a private configuration file outside your repository:
Set the file’s permissions to
0600 so only its owner can read or modify it, and point the example at it:
The paths in these commands are placeholders; replace them with your local paths.
Run your preferred example
- Node.js
- Python
The Node.js receiver source is supported on Node.js 24 or later. It uses Node’s built-in SQLite module, so this complete example isn’t intended for older runtimes. This requirement doesn’t apply to the JavaScript verification function or to your own receiver.Run the downloaded file:
http://127.0.0.1:8787/webhooks by default. Expose them through a reverse proxy for your public HTTPS endpoint, or a temporary HTTPS tunnel for sandbox testing. Register the public URL in the dashboard; the local HTTP address isn’t a valid delivery destination.
Process stored events
A separate consumer reads unprocessedwebhook_inbox records. In one application transaction, it should:
- Deduplicate side effects by event ID.
- Ignore
test: trueevents for business effects. - Apply only a newer resource version.
- Set
processed_at.
WEBHOOK_E2E_CONTROL_KEY and WEBHOOK_E2E_ACCOUNT_ID unset for an ordinary receiver. Those options are only for automated sandbox tests.
Verify signatures · Test your integration · Delivery and recovery