NewWhatsApp, Instagram, Messenger, email, SMS and website chat, now in one inbox
CAT Engage 360

Webhook events

Instead of asking us every few seconds, register an HTTPS address and we POST to it the moment something happens: a customer writes, a message is delivered or read, or a new conversation starts.

Events#

EventSent when
message.receivedA customer’s message arrives, on any channel: WhatsApp, Instagram, Messenger, website chat, email or SMS.
message.status_updatedA message you sent on WhatsApp (or SMS, with a provider that reports delivery) changes status.
conversation.createdA new conversation opens for a contact.

Each endpoint subscribes to one or more of these. You can add or remove events at any time.

The payload#

Every delivery is a JSON object with the same five fields; data depends on the event.

message.received

Body
{
  "id": "3f9c2b7e-5a1d-4e08-9c6b-2d7f1a0e8b45",
  "event": "message.received",
  "occurred_at": "2026-11-27T10:42:18.512Z",
  "account_id": "b2c1e8f4-3a6d-4c9b-8e27-1d5f0a9b6c43",
  "data": {
    "conversation_id": "5d2a9e47-1c3b-4f6e-8a20-7b9c1d4e6f81",
    "contact_id": "a81c3f09-2e5d-4b7a-9c64-0d1e2f3a4b5c",
    "message_id": "0f6b1c52-8d0e-4b8c-9a51-3f1e2d7c9a10",
    "whatsapp_message_id": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAEhgU…",
    "content_type": "text",
    "text": "Is the Friday batch still open?",
    "interactive_reply_id": null
  }
}

text is the message or the caption. interactive_reply_id is the id of the button or list row the customer tapped, when they tapped one. Use message_id or the conversation to fetch more with the API.

message.status_updated

Body
{
  "id": "3f9c2b7e-5a1d-4e08-9c6b-2d7f1a0e8b45",
  "event": "message.status_updated",
  "occurred_at": "2026-11-27T10:42:18.512Z",
  "account_id": "b2c1e8f4-3a6d-4c9b-8e27-1d5f0a9b6c43",
  "data": {
    "whatsapp_message_id": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS…",
    "conversation_id": "5d2a9e47-1c3b-4f6e-8a20-7b9c1d4e6f81",
    "status": "delivered"
  }
}

Match whatsapp_message_id with the one you got when sending (for SMS it holds the provider’s message id). status is sent, delivered, read or failed.

conversation.created

Body
{
  "id": "3f9c2b7e-5a1d-4e08-9c6b-2d7f1a0e8b45",
  "event": "conversation.created",
  "occurred_at": "2026-11-27T10:42:18.512Z",
  "account_id": "b2c1e8f4-3a6d-4c9b-8e27-1d5f0a9b6c43",
  "data": {
    "conversation_id": "5d2a9e47-1c3b-4f6e-8a20-7b9c1d4e6f81",
    "contact_id": "a81c3f09-2e5d-4b7a-9c64-0d1e2f3a4b5c"
  }
}

Headers#

HeaderValue
X-Cat-EventThe event name, for example message.received.
X-Cat-SignatureProof it came from us: t=…,v1=…. See Verify signatures.
X-Cat-Webhook-IdWhich of your endpoints this is for.
X-Cat-Delivery-IdThis delivery. Retries of it keep the same id.
User-AgentCAT-Engage-Webhooks/1.0
Content-Typeapplication/json

Answer quickly#

  • Answer with any 2xx status within 10 seconds. Anything else, a timeout or a redirect counts as a failure.
  • Do the slow work after answering: save the event, reply 200, then process it from a queue.
  • The same event can arrive twice. Skip ones you have seen, using the body's id.
  • Events can arrive out of order. Use occurred_at, and fetch the latest state from the API when order matters.

Retries#

A failed delivery is retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours: seven tries over about 21 hours, each with exactly the same body. Then it is marked failed.

Switched off after 15 failures in a row

If 15 deliveries in a row fail, the endpoint is switched off and its queue is dropped. Integrations → Webhooks shows why. Turning it back on (in the app, or with is_active: true through the API) starts a fresh count.

Address rules#

  • The URL must be https://, without a user name or password in it.
  • It must reach the public internet. Private and local addresses are refused, checked again at every delivery.
  • Redirects are not followed. Give the final address.

Try it from the app

In Integrations → Webhooks, Send test posts a webhook.test event to your endpoint and shows what it answered. The delivery history there keeps 30 days.