{
"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
}
}calls
Incoming Call Ended
Triggered when an incoming WhatsApp voice or video call ended. Status is Answered when the call was picked up, or Rejected when it was actively declined by the recipient.
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
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Webhook event name
Available options:
call:incoming:missed, call:incoming:ended, call:outgoing:ended Example:
"call:incoming:missed"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
200
Receiver accepted the event

