Outbound CDR API
The Outbound CDR API is a web service that returns a temporary URL for the call detail records (CDR) of one day. Open the URL to download the CDR as a ZIP file.
This API requires an API key. Find your key on the Organization settings page of the Smart Carrier dashboard. If you cannot find it, contact support@smartcarrier.io.
Web service information
| Field | Value |
|---|---|
| Endpoint | https://api.smartcarrier.com/v3/get-cdr? |
| Method | GET |
| Parameter | DateRequested |
| Header | x-api-key (get your API key) |
| Example | https://api.smartcarrier.com/v3/get-cdr?DateRequested=2026-05-12 |
Request parameters
| Parameter | Type | Description |
|---|---|---|
DateRequested | string | The day to get the CDR for, in YYYY-MM-DD format. For example, 2026-05-18 returns the CDR for May 18, 2026. |
cURL example
curl --location 'https://api.smartcarrier.com/v3/get-cdr?DateRequested=2026-05-12' \
--header 'x-api-key: YOUR_API_KEY'Replace YOUR_API_KEY with your API key.
Sample response
https://s3.amazonaws.com/cdn.smartcarrier.io/Accounts/1234-1234-1234-1234/CDRs/1234-1234-1234-.zip?AWSAccessKeyId=ExampleAWSAccessKeyIdWhat does the API return?
The API returns a temporary URL. Open the URL to download the CDR ZIP file for the day you requested. The URL expires, so download the file soon after you request it.
If your account has no CDR for the date, the API returns No CDR Found for Account and Date Requested.