Webhooks
End of call webhook
WEBHOOK
call
Copy
{
"call": {
"callId": "<string>",
"agentId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"type": "<string>",
"campaignName": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"recordingUrl": "<string>",
"endedAt": "2023-11-07T05:31:56Z",
"customerNumber": "<string>",
"endedReason": "<string>",
"summary": "<string>",
"analysis": {},
"transcript": [
{
"role": "bot",
"message": "<string>",
"secondsFromStart": 123,
"time": "<string>",
"endTime": "<string>",
"duration": 123,
"name": "<string>",
"result": {},
"toolCall": {}
}
],
"url": "<string>",
"callVariables": {},
"phoneNumber": "<string>",
"campaignParentCallIds": [
"<string>"
]
}
}
Body
application/json
Response
200
Webhook received successfully
Was this page helpful?
Copy
{
"call": {
"callId": "<string>",
"agentId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"type": "<string>",
"campaignName": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"recordingUrl": "<string>",
"endedAt": "2023-11-07T05:31:56Z",
"customerNumber": "<string>",
"endedReason": "<string>",
"summary": "<string>",
"analysis": {},
"transcript": [
{
"role": "bot",
"message": "<string>",
"secondsFromStart": 123,
"time": "<string>",
"endTime": "<string>",
"duration": 123,
"name": "<string>",
"result": {},
"toolCall": {}
}
],
"url": "<string>",
"callVariables": {},
"phoneNumber": "<string>",
"campaignParentCallIds": [
"<string>"
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.