List Call Detail Records
GET/api/v1/domains/:domain_uuid/cdrs
Returns CDRs for the specified domain the caller is allowed to access.
Access rules:
- Caller must have access to the target domain (domain scope).
- Caller must have the
xml_cdr_viewpermission.
Pagination (cursor-based):
- Both
limitandstarting_afterare optional. - If
limitis not provided, it defaults to 500. - If
starting_afteris not provided, results start from the beginning. - If
has_moreis true, request the next page by passingstarting_afterequal to the last item'sxml_cdr_uuidfrom the previous response.
Optional filters:
searchmatches caller/destination fields and status.directionfilters by call direction.statusfilters by call status. Accepted values:answered,no answer,cancelled,voicemail,missed call,abandoned.extension_uuidfilters by extension UUID.call_center_queue_uuidfilters by queue UUID.date_fromanddate_tofilter bystart_epochin epoch seconds.
Examples:
- First page:
GET /api/v1/domains/{domain_uuid}/cdrs - Next page:
GET /api/v1/domains/{domain_uuid}/cdrs?starting_after={last_xml_cdr_uuid} - Custom size:
GET /api/v1/domains/{domain_uuid}/cdrs?limit=25 - Search:
GET /api/v1/domains/{domain_uuid}/cdrs?search=2135551212 - Date range (epoch):
GET /api/v1/domains/{domain_uuid}/cdrs?date_from=1775001600&date_to=1775087999
Request
Responses
- 200
- 400
- 401
- 403
- 404
Success
Invalid date_to
Unauthenticated
Forbidden
Domain not found