Call Webhooks
The Call webhook notifies you when a call event occurs, such as when a call is created, updated, or deleted. Below is an example of a webhook payload for the create action.
Example Payload
{
"id": "7e877545185ac6441365077c75f0998f4edecbf3da398811f0f49b8bee14fdc8",
"resource": "Call",
"action": "create",
"data": {
"id": 111,
"tenantId": "your_company",
"direction": "outgoing | incoming",
"startTime": "2024-07-04T20:13:24.722Z",
"from": "+56900000000",
"to": "+56900000000",
"status": "completed | no-answer | busy | failed",
"userId": 111,
"duration": 102, // in seconds
"recordingUrl": "path/to/the/recording/if/exists",
"customData": {
"contactExternalId": "444",
"opportunityExternalId": "555",
"analysisConfigId": "40",
"customExternalId": "666"
}
}
}
Important: this is an example payload. You can receive more or fewer parameters, according to the state of the resource.