Call Ended
Request
| Header |
Value |
| Content-Type |
application/json |
Body (example: all fields)
{
"id": 123,
"type": "inbound",
"startedDate": "2026-01-13T10:15:30+02:00",
"endedDate": "2026-01-13T10:17:05+02:00",
"duration": 95,
"talkTime": 80,
"waitingTime": 12,
"tags": [
"vip",
"refund"
],
"call_type": "inbound_ring_group",
"call_recordings": [
"example.com/api/call/recording/555"
],
"number": {
"id": 10,
"number": "+12025550100",
"numberWithAlias": "+12025550100 (Support)",
"alias": "Support"
},
"campaign": "Winter Promo",
"external_numbers": [
{
"number": "+12025550999 (Sales ext)",
"is_any_transfer": false
}
],
"transfer_details": {
"transfer_talk_time": 32,
"number": "+12025550999"
},
"abandoned": 0,
"sub_type": "(Support)Handled",
"ringGroup": {
"id": 7,
"name": "Support"
},
"disposition": {
"id": 3,
"code": "SALE",
"note": "Converted"
},
"contact": {
"id": 44,
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "+12025550123",
"createDate": "2025-10-01T12:00:00+02:00",
"additionalFields": {
"customerType": "premium"
},
"integrations": {
"activeCampaign": {
"customerId": "ac_123"
}
}
},
"agents": [
{
"id": 5,
"name": "Agent A",
"action": "Answered",
"type": "Normal call"
},
{
"id": 8,
"name": "Agent B",
"action": "Contact hangup",
"type": "Transfer Call"
}
]
}
Body (example: some fields missing / empty)
{
"id": 124,
"type": "outbound",
"startedDate": "2026-01-13T11:00:00+02:00",
"endedDate": "",
"duration": 0,
"talkTime": 0,
"waitingTime": 0,
"tags": [],
"call_type": "outbound",
"call_recordings": [],
"number": {},
"campaign": "",
"external_numbers": [],
"transfer_details": {},
"abandoned": 0,
"sub_type": "Not Answered"
}