{
"event_type": "on_call_end",
"id": "cll_gBoLtd02pUI50QwXkFjB",
"thread_id": "thr_Kp7mQz3XvNb8LcRt2sYw",
"type": "outbound",
"status": "ended",
"phone_number_from": "+000000000000",
"phone_number_to": "+000000000000",
"answered_by": "human",
"created_at": "2024-12-19T15:00:10Z",
"started_at": "2024-12-19T15:00:10Z",
"ended_at": "2024-12-19T15:00:10Z",
"ended_by": "user",
"ended_reason": "user_hangup",
"duration": 45,
"billed_duration": 45,
"recording_url": "https://api.altur.io/api/v1.0/call/cll_gBoLtd02pUI50QwXkFjB/recording",
"transcript": [
{
"sent_by": "assistant",
"sent_at": "2024-12-19T15:00:00Z",
"content": "Hello am I speaking with Sofía?"
},
{
"sent_by": "user",
"sent_at": "2024-12-19T15:00:10Z",
"content": "Yes, who is this?"
}
],
"assistant": {
"id": "6cy951e6-9877-4d7c-88d7-56b4948d3cce",
"nickname": "DebtCollectorBot",
"name": "Diana Arroyo"
},
"end_user": {
"id": "2be951e6-7798-47cd-878d-49b2918a3bba",
"status": "converted",
"display_name": "John Doe",
"phone_number": "+521234567890",
"context": "Customer data...",
"extracted_data": {
"Payment Amount": "1200",
"Payment Date": "2024-12-26",
"Payment Medium": "app"
},
"tags": ["payment_promise", "call_later"]
},
"campaign_user": {
"f_id": "user_12345",
"name": "John Doe",
"contact": "+521234567890",
"context": "Customer data for campaign...",
"status": "converted",
"failed_retries": 0,
"voicemail_retries": 1,
"extracted_data": {
"Payment Amount": "1200",
"Payment Date": "2024-12-26",
"Payment Medium": "app"
},
"tags": ["payment_promise", "call_later"]
}
}