Call events
Event
call.finished
Trigger
A phone call is ended.
Event
call.processed
Trigger
Occurs when all post-call analyses are completed (i.e. call.metadata object is fully populated).
data.object contains a call object.
Example of a call.finished event.
{
"version": "0",
"id": "5US7xdqKHalKbU8CXjhO",
"type": "call.finished",
"agentId": "1R7kHmQ6moHuhpaddTf9",
"description": "An inboud call was finished.",
"createdAt": "2024-08-20T15:14:54Z",
"data": {
"object": {
{
"id": "CAf5c514db0c0c6c85864883276c7de7be",
"from": "+15616225476",
"to": "+15616225476",
"direction": "inbound",
"duration": "4",
"status": "completed",
"createdAt": "2024-08-20T15:50:00Z",
"updatedAt": "2024-08-20T15:50:00Z",
"endedAt": "2024-08-20T15:54:00Z",
"metadata": {}
}
}
}Example of a call.processed event.
Last updated