v3

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0102123.3 KB
calls

Triggered when an outgoing WhatsApp call ended.

postWebhookcall:outgoing:ended

Payload

event_type'call:incoming:missed' | 'call:incoming:ended' | 'call:outgoing:ended' required

Webhook event name

Example payload

{
  "event_type": "call:incoming:missed",
  "chat": {
    "full_name": "Agent Smith",
    "chat_url": "https://app.timelines.ai/chat/123456/messages/",
    "chat_id": 123456,
    "chat_type": "direct",
    "platform": "whatsapp",
    "phone": "380739833532",
    "responsible_name": "Agent Brown",
    "responsible_email": "agent-brown@example.com"
  },
  "whatsapp_account": {
    "whatsapp_account_wid": "123456789@s.whatsapp.net",
    "full_name": "Agent Brown",
    "email": "agent-brown@example.com",
    "phone": "+123456789"
  },
  "call_details": {
    "duration": 120,
    "direction": "incoming",
    "status": "Missed",
    "timestamp": "2024-01-08 10:35:18 +0200",
    "message_uid": "c7ec509d-0171-1ead-a84b-c6943a644768",
    "caller": {
      "full_name": "John Smith",
      "phone": "+123456789"
    },
    "recipient": {
      "full_name": "John Smith",
      "phone": "+123456789"
    }
  }
}

Response

Receiver accepted the event