get https://example.td.commpeak.com/api/cdrs
Use the Get all CDRs if you want to get a list of all CDRs available in your dialer. Apply various request parameters as filters to segment and limit the number of records.
Request Body
This is a GET request and does not require a request body.
You can filter by any parameter that you get in the response.
In addition, use fields
with wanted fields to ensure you get specific fields in the response.
Response Body
The response will contain an array of CDR objects. Each CDR object includes the following parameters:
start_at
(string) - The start time of the call
end_at
(string) - The end time of the call
src
(string) - The source of the call
dst
(string) - The destination of the call
call_uuid
(string) - The unique identifier of the call
client_callerid_name
(string) - The name of the caller
client_callerid_number
(number) - The caller's phone number
call_duration
(number) - The duration of the call
call_bill_duration
(number) - The billed duration of the call
status
(string) - The status of the call
q850
(string) - Q850 status
caller_user_id
(string) - The ID of the caller user
client_hangup_disposition
(string) - The disposition of the client hangup
campaign_lead_id
(number) - The ID of the campaign lead
assigned_user_id
(number) - The ID of the assigned user
cost
(float) - CDR rate cost.
In case there are no CDRs available, an empty array will be returned.