webhook
v2.call.inbound.ended
An inbound call has hung up
Example
{
"id": "a0331744032581221927Lm4RtYvB8nQe",
"at": "2025-04-07T13:29:41.221Z",
"sid": "p7w2dz5c",
"type": "v2.call.inbound.ended",
"try": 0,
"payload": {
"direction": "inbound",
"callid": 240711945874,
"bridged": 240711945875,
"callerName": "John Doe",
"callerNumber": "+33639983040",
"callerRestricted": false,
"callee": "+33199001030",
"started": "2025-04-07T13:29:30.512Z",
"answered": "2025-04-07T13:29:31.034Z",
"ended": "2025-04-07T13:29:41.090Z",
"status": "answered",
"hangupSource": "caller",
"hangupCause": 16,
"hangupTech": "sip:200",
"durationTotal": 11,
"durationAnswered": 10,
"durationBilled": 60,
"billingDestinationLabel": "France - Geographic",
"billingDestinationID": 42,
"billingDebit": "1.50",
"billingCredit": "0.00",
"billingPaymentType": "prepaid",
"scenarioSid": "q5t9mw2e",
"scenarioName": "My Call Flow",
"scenarioTypeName": "Actions",
"scenarioTypeVersion": "1.0"
}
} 2XXOK
