Skip to main content

CDR API

Use GET /cdr/list to retrieve Call Detail Records (CDRs) for reporting or synchronization. Requests require a single date in YYYY-MM-DD format and support a limit up to 500 records.

The examples below assume the BASE_URL and HEADERS client from API authentication. A read-only export job only needs a Reporter or Viewer role.

This is the right tool when the CSV export on the Call Report screen is too small or too manual for your volume. The API has no equivalent row ceiling.

Paginate with cursors​

The response provides results and an opaque next_cursor. Send that cursor on the next request until it is null.

cursor = None
while True:
params = {"date": "2026-06-30", "limit": 100}
if cursor:
params["cursor"] = cursor
response = requests.get(f"{BASE_URL}/cdr/list", params=params, headers=HEADERS)
response.raise_for_status()
page = response.json()
process(page["results"])
cursor = page["next_cursor"]
if not cursor:
break

Cursors are forward-only. Start again without cursor to restart at the first page. Add call-campaign-id when the export should be limited to one campaign.

Build reliable exports​

Export one date at a time, store progress durably, and make your destination idempotent so a retried page does not create duplicate downstream records. Use the CDR identifier as the destination key and keep the date, campaign filter, and last successful cursor in your job log.