Webhook implementation
Build a receiver around four steps: verify the raw signed request, durably store the message, acknowledge it, and process it asynchronously. Notifications are compact lookup hints rather than full order or result objects.
Verify webhook signatures
Get the endpoint secret and run a local durable inbox and resource-retrieval worker.
Test webhook delivery
Queue an exact simulated event and observe verified receiver acceptance.
Check the webhook contract
- Event types — trigger conditions, ID types, retrieval routes, and a synthetic fixture for every event.
- Payload JSON schema — the compact schema generated from the same event authority.
- Payload deltas — omitted, null, empty, add, remove, and replace behavior.
- Response requirements — return 2xx promptly after durable acceptance, targeting under 10 seconds.
- Delivery and retry policy — distinguish Svix receiver retries from Cortex submission retries and deduplicate with
svix-id. - Webhook Portal — manage endpoint secrets and inspect delivery attempts.