Skip to main content
A webhook is a notification to your server. It is not authorization for an AI model to send a reply. Keep end-user identity, business policy and approvals in your own application.

Request example

This invented payload illustrates a received-message notification. It contains identifiers and metadata, not the message text or a public media URL.
The same envelope supports message sent/receipt/reaction/edited/deleted, group joined/left/updated/participants, submission/uncertainty, connection changes and scoped agent.message activations. An activation carries agentId and eventId; fetch private content through the agent API. chatId can be null for phone-level events. Fields vary by event type. Available events depend on the installed engine subscriptions; reading this page does not change a linked session.

Verify before parsing

The secret is the webhook signing secret, not the customer API key. Header timestamp is Unix seconds. Verification covers the exact bytes of timestamp + '.' + rawBody. The bundled verifier checks a five-minute window, compares HMAC-SHA256 signatures in constant time and bounds the body at 16 KiB. The repository example examples/node/webhook-receiver.mjs implements private SQLite intake, duplicate-content checks and bounded queue capacity. It starts no outgoing worker. Install it behind your own HTTPS endpoint before configuring the webhook.

Delivery and recovery

  1. Commit the event to durable storage before responding with 2xx.
  2. Run long work asynchronously; the sender has an eight-second deadline.
  3. Expect duplicate and out-of-order delivery. Use the event ID for intake deduplication and a separate persisted business-intent key for each intended effect.
  4. Do not order work by delivery time. Re-read current authorized state before changing anything.
  5. Failed callbacks retry eight times in total. Exhausted delivery does not automatically redrive.
  6. If a send becomes unknown, inspect the original API operation. Replaying the webhook is never permission to resend the WhatsApp message.
Changing the webhook URL rotates its secret and cancels queued old deliveries. An already submitted attempt may finish. Keep this in your receiver rotation procedure. See the full delivery contract.

n8n and Zapier

Use this verifier/queue before forwarding to an authenticated internal workflow trigger. A public Catch Hook by itself does not verify SuperSkope signatures. Store the event ID and original request key with the workflow execution so a workflow retry cannot create a new send. No native n8n/Zapier application is currently shipped.