Call Detail Records (CDRs)
The CDRs API provides access to detailed records of all calls made through your Audian phone system.
Base URL​
https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/cdrs
Overview​
Call Detail Records contain comprehensive information about each call, including duration, parties involved, timestamps, and call disposition. Use CDRs for billing, analytics, compliance, and troubleshooting.
Endpoints​
| Method | Endpoint | Description |
|---|---|---|
| GET | /cdrs | List call detail records |
| GET | /cdrs/{CDR_ID} | Get specific CDR |
| GET | /cdrs/summary | Get CDR summary statistics |
| GET | /cdrs/legs/{LEG_ID} | Get specific call leg |
List CDRs​
curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/cdrs" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Accept: application/json"
Query Parameters​
| Parameter | Type | Description |
|---|---|---|
created_from | integer | Unix timestamp for start of range |
created_to | integer | Unix timestamp for end of range |
page_size | integer | Number of results per page |
Response​
{
"auth_token": "{AUTH_TOKEN}",
"data": [
{
"id": "cdr_abc123",
"call_id": "call_xyz789",
"caller_id_number": "+15551234567",
"callee_id_number": "+15559876543",
"duration_seconds": 120,
"billing_seconds": 120,
"timestamp": 1704067200,
"hangup_cause": "NORMAL_CLEARING"
}
],
"request_id": "{REQUEST_ID}",
"status": "success"
}
Documentation In Progress
This documentation is being expanded. Check back soon for complete API reference.