Skip to main content
WEBHOOK
call:incoming:ended
{
  "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": {
    "direction": "incoming",
    "is_video": false,
    "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"
    },
    "duration": 120
  }
}

Documentation Index

Fetch the complete documentation index at: https://timelines.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
event_type
enum<string>
required

Webhook event name

Available options:
call:incoming:missed,
call:incoming:ended,
call:outgoing:ended
Example:

"call:incoming:missed"

chat
object
required
whatsapp_account
object
required
call_details
object
required

Response

200

Receiver accepted the event