Events

Overview of API v2 webhook payloads and delivery

Event payloads by type:

Configure webhook endpoints with Company webhooks.

Envelope

Every webhook uses this top-level shape:

Example

json
{
  "event": "create",
  "type": "message",
  "object": {
    "id": 123,
    "external_id": "msg_123456",
    "company_id": 1,
    "conversation_id": 456,
    "contact_id": 789,
    "replied_to_id": null,
    "created_at": "2024-01-15T10:30:00Z",
    "external_created_at": "2024-01-15T10:30:00Z",
    "income": true,
    "status": "delivered",
    "message": "Hello, this is a test message",
    "reactions": null,
    "details": null,
    "delivery": null,
    "deleted": false,
    "attachments": []
  }
}

Description

ParameterTypeDescription
eventStringEvent action (create, update, delete)
typeStringObject type (message, conversation, auth, ...)
objectObjectObject payload with its fields

Search…

Start typing to search