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.
Values
Key | Type | Description |
type | string | |
Payload Data | ||
call_id | int | |
phone_number | string | |
caller_id | string | |
reference_id | string | |
call_direction | string | |
result_code | string | |
cause_value | int | |
user_id | int | |
campaign_id | int | |
list_id | int | |
call_type | int | |
recording_url | string | |
start_date_time | DateTime | |
end_time_time | DateTime | |
ivr_time | int | |
ring_time | int | |
talk_time | int | |
user_time | int | |
hold_time | int | |
wrap_time | int |