Call End Notification
End of call notifications (CDR):
At the end of an inbound or outbound call, a callback is sent to the configured webhook. This callback contains a Call Data Record for the call. To determine whether the notification is from an inbound call use the call_dir field of the payload.
Field | Type | Description |
type | string | The type of notification |
Payload Data | ||
call_id | integer | The ID of the call. |
phone_number | string | The external phone number of the call. |
caller_id | string | The phone number that was displayed. |
reference_id | string | The external reference ID of the call. |
call_direction | string | The direction of the call. |
dispostion_code | string | The disposition code of the call. |
sip_code | integer | This is the SIP Response code for the call https://en.wikipedia.org/wiki/List_of_SIP_response_codes |
user_id | integer | The ID of the user. |
campaign_id | integer | The ID of the campaign. |
list_id | integer | The ID of the list. |
call_type | integer | The type of call. |
recording_url | string | The name of the call recording file. |
start_date_time | DateTime | The start date and time of the call. |
end_time_time | DateTime | The end date and time of the call. |
ivr_time | integer | The total time in milliseconds the callee spent in the IVR. |
ring_time | integer | The total ring time in milliseconds of the call. |
talk_time | integer | The total talk time in milliseconds of the call. |
user_time | integer | The total time in milliseconds the callee spent with the user. |
hold_time | integer | The total hold time in milliseconds of the call. |
wrapup_time | integer | The total wrapup time in milliseconds of the call. |