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

Manage endpoints

Add webhook endpoints in the app, or manage them from your own code with an API key that has the webhooks:manage scope. A business can have up to 20.

In the app#

Open Integrations → Webhooks. Add the URL and tick the events. Copy the secret when it appears. Each endpoint shows whether it is on, why it was switched off, its latest deliveries with their retry status, and a Send test button.

The endpoint object#

Endpoint
{
  "id": "e4b7c2a9-1d6f-4a3e-8b05-9c2d7f1e6a38",
  "url": "https://example.com/cat-webhooks",
  "events": [
    "message.received",
    "message.status_updated"
  ],
  "is_active": true,
  "disabled_reason": null,
  "last_delivery_at": "2026-11-27T10:42:19.001Z",
  "failure_count": 0,
  "created_at": "2026-11-20T09:00:00.000Z"
}

failure_count counts failed deliveries in a row; at 15 the endpoint is switched off and disabled_reason says so. The secret is never included.

Add an endpoint#

POST/api/v1/webhooks

Needs the scope webhooks:manage

Body

  • urlstringRequired
    A public https:// address, up to 2,048 characters.
  • eventsstring[]Required
    One or more of message.received, message.status_updated, conversation.created.
cURL
curl -X POST "https://app.catengage360.com/api/v1/webhooks" \
  -H "Authorization: Bearer cat_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com/cat-webhooks",
  "events": [
    "message.received",
    "message.status_updated"
  ]
}'

201Created, with the secret (shown only now)

JSON
{
  "data": {
    "id": "e4b7c2a9-1d6f-4a3e-8b05-9c2d7f1e6a38",
    "url": "https://example.com/cat-webhooks",
    "events": [
      "message.received",
      "message.status_updated"
    ],
    "is_active": true,
    "disabled_reason": null,
    "last_delivery_at": null,
    "failure_count": 0,
    "created_at": "2026-11-20T09:00:00.000Z",
    "secret": "whsec_…"
  }
}

List endpoints#

GET/api/v1/webhooks

Needs the scope webhooks:manage

cURL
curl "https://app.catengage360.com/api/v1/webhooks" \
  -H "Authorization: Bearer cat_live_your_key_here"

200All your endpoints

JSON
{
  "data": [
    {
      "id": "e4b7c2a9-1d6f-4a3e-8b05-9c2d7f1e6a38",
      "url": "https://example.com/cat-webhooks",
      "events": [
        "message.received",
        "message.status_updated"
      ],
      "is_active": true,
      "disabled_reason": null,
      "last_delivery_at": "2026-11-27T10:42:19.001Z",
      "failure_count": 0,
      "created_at": "2026-11-20T09:00:00.000Z"
    }
  ],
  "meta": {
    "next_cursor": null
  }
}

Get one endpoint#

GET/api/v1/webhooks/:id

Needs the scope webhooks:manage

Change an endpoint#

PATCH/api/v1/webhooks/:id

Needs the scope webhooks:manage

  • urlstringoptional
    A new https address.
  • eventsstring[]optional
    The new list of events (replaces the old one).
  • is_activebooleanoptional
    false switches it off and drops waiting deliveries. true switches it back on and resets failure_count.
cURL
curl -X PATCH "https://app.catengage360.com/api/v1/webhooks/e4b7c2a9-1d6f-4a3e-8b05-9c2d7f1e6a38" \
  -H "Authorization: Bearer cat_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "is_active": true
}'

Delete an endpoint#

DELETE/api/v1/webhooks/:id

Needs the scope webhooks:manage

200Deleted

JSON
{
  "data": {
    "id": "e4b7c2a9-1d6f-4a3e-8b05-9c2d7f1e6a38",
    "deleted": true
  }
}

Errors#

CodeStatusWhat it means
bad_request400The URL isn’t https or isn’t valid, events are missing or unknown, or the business already has 20 endpoints.
unauthorized401The API key is missing, wrong, revoked or expired.
forbidden403The key doesn't have the webhooks:manage scope.
not_found404No endpoint with that id in your business.

Secrets aren't shown again

The secret comes back only when the endpoint is created. To change it, delete the endpoint and add it again.