Skip to main content

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​

MethodEndpointDescription
GET/cdrsList call detail records
GET/cdrs/{CDR_ID}Get specific CDR
GET/cdrs/summaryGet 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​

ParameterTypeDescription
created_fromintegerUnix timestamp for start of range
created_tointegerUnix timestamp for end of range
page_sizeintegerNumber 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.