brave_eagle_37371
07/31/2025, 3:02 AMAI Evy
07/31/2025, 3:02 AMAI Evy
07/31/2025, 3:02 AMcall_ended webhook should trigger regardless of how the call ends . According to the documentation, this event is "triggered when a call completes, transfers, or encounters an error" , which includes early terminations.
When calls don't connect (like dial_failed, dial_no_answer, dial_busy) , the call_started webhook won't trigger, but both call_ended and call_analyzed webhooks will still be triggered .
The call_ended webhook contains all fields from the call object except call_analysis , while the call_analyzed webhook includes the full call data with the call_analysis object .
To set up your webhook:
1. Configure your webhook endpoint to handle POST requests [(2) ]()
2. Register your webhook either at the account level or agent level through the dashboard
3. Ensure your endpoint responds with a 2xx status code within 10 seconds [(1) ]()
Here's the webhook payload structure you'll receive :AI Evy
07/31/2025, 3:02 AMjson
{
"event": "call_ended",
"call": {
"call_type": "phone_call",
"from_number": "+12137771234",
"to_number": "+12137771235",
"direction": "inbound",
"call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"call_status": "registered",
"metadata": {},
"retell_llm_dynamic_variables": {
"customer_name": "John Doe"
},
"start_timestamp": 1714608475945,
"end_timestamp": 1714608491736,
"disconnection_reason": "user_hangup",
"transcript": "...",
"transcript_object": [ [Object], [Object], [Object], [Object] ],
"transcript_with_tool_calls": [ [Object], [Object], [Object], [Object] ],
"opt_out_sensitive_data_storage": false
}
}
If your webhook isn't receiving early call terminations, verify that your webhook endpoint is properly configured and responding correctly to test the integration [(2) ]() .AI Evy
07/31/2025, 3:02 AMAI Evy
07/31/2025, 3:02 AM