v1
latestOpenAPI 3.0.32026-07-246376162.1 KBGet list of CDRs
Returns a paginated list of Call Detail Records (CDRs). Use the cursor returned in metadata.next_cursor to continue fetching records beyond the first 10000 results. When cursor is not provided, pagination is limited to the first 10000 records using limit and offset.
Query parameters
The number of items to return.
The number of items to skip before starting to collect the result set. Ignored when a valid cursor is provided.
Cursor returned in the previous response metadata as next_cursor. Treat this value as an opaque token and pass it back unchanged. If both cursor and offset are provided: a valid cursor takes priority and offset is ignored. If cursor is invalid, the API falls back to offset-based pagination. If the fallback offset is also invalid, the API returns 400 Bad Request.
Filter by CDR type. Accepts a single value or an array.
Filter by external account ID. Accepts a single value or an array.
Filter by CDR subtype. Accepts a single value or an array.
Filter by disposition. Accepts a single value or an array.
Filter by wrap-up code. Accepts a single value or an array.
Filter by end reason. Accepts a single value or an array.
Filter by event tag. Accepts a single value or an array. Special value all_transfers expands to all transfer types.
Filter by caller phone number. Accepts a single value or an array. Cannot be used with from_phone_number_like.
Filter by destination phone number. Accepts a single value or an array of values. Cannot be used with to_phone_number_like.
Filter by caller phone number pattern. Use * as a wildcard. Cannot be used with from_phone_number.
Filter by destination phone number pattern. Use * as a wildcard. Cannot be used with to_phone_number.
Filter by source channel account ID. Accepts a single value or an array.
Filter by destination channel account ID. Accepts a single value or an array.
Filter by source channel profile ID. Accepts a single value or an array.
Filter by destination channel profile ID. Accepts a single value or an array.
Filter by user ID. Accepts a single value or an array.
Filter by team ID. Accepts a single value or an array.
Filter by queue ID. Accepts a single value or an array.
Filter by campaign ID. Accepts a single value or an array.
Filter by related call ID. Accepts a single value or an array.
Filter by destination country name. Accepts a single value or an array.
Filter by conversation score or score range.
Filter by overall duration (seconds) or by duration range.
Filter by dialing duration (seconds) or by duration range.
Filter by time spent in IVR (seconds) or by a duration range.
Filter by time spent in queue (seconds) or by a duration range.
Filter by time spent talking (seconds) or by a duration range.
Filter by time spent on hold (seconds) or by a duration range.
Filter by start time or by start time range.
Filter by end time or by end time range.
Response
OK
Example response
{
"cdrs": [
{
"id": "775a5558-59a6-4468-a502-0deef2a3315d",
"type": "call",
"subtype": "outbound",
"from": {
"type": "phone_number",
"phone_number": "18885658889"
},
"to": {
"type": "phone_number",
"phone_number": "18885658889"
},
"account_id": "123321",
"user": {
"id": 1,
"name": "Jane Doe",
"email": "jane.doe@contactcenter.com",
"name_snapshot": "Snapshot name"
},
"cost": "0.055",
"tags": [
"conference",
"whisper"
],
"started_at": "2020-08-19T11:32:43.413000Z",
"ended_at": "2020-08-19T11:33:11.031000Z",
"data": {
"queue": {
"id": 1,
"name": "Technical Support",
"name_snapshot": "Snapshot name"
},
"campaign": {
"id": 9,
"name": "Retention Outreach",
"name_snapshot": "Snapshot name"
},
"destination_country": "France",
"durations": {
"overall": 27.618,
"dialing": 5.783,
"queue": 10.796,
"talk": 21.835
},
"end_reason": "customer",
"wrapup_code": {
"code_snapshot": "0000"
},
"summary": "The agent called the customer to follow up on a previous inquiry.",
"conversation_score": 3.3,
"mos": 4.37,
"mos_tc": 3.9
}
}
],
"metadata": {
"total": 100
}
}