Skip to Content
CerebrumDocs
GuidesAPI referenceTrust & security

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.

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.

On this page