{
"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
Outgoing Call Ended
Triggered when an outgoing WhatsApp voice or video call ended. Status is Ended for completed calls, No Answer when the recipient never picked up, or Rejected when the recipient actively declined.
WEBHOOK
call:outgoing: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
Body
application/json
Response
200
Receiver accepted the event

