DevelopersAPI Reference
Call records
Query call detail records for a tenant, optionally scoped to one user.
Call records
GET /api/v1/cdr returns call detail records. The organization's call-record retention floor always applies; startDate cannot go older than that cutoff.
| Permission | cdr |
| User header | Optional — when set, only that user's extensions and DID |
If the organization is not linked to the phone system, the API returns TENANT_NOT_CONFIGURED or PBX_NOT_CONFIGURED.
Query
| Name | Type | Description |
|---|---|---|
startDate | ISO 8601 | Inclusive start |
endDate | date | Inclusive calendar day |
extension | string | Filter by extension (ignored when a user header is set) |
direction | string | inbound, outbound, internal, or all |
tz | IANA zone | Day boundaries; invalid values are ignored |
limit / offset | number | Pagination |
Response data
data.records[] includes direction, caller, destination, start/answer/end, duration, billable seconds, hangup cause, missed/recording flags, and click-to-dial fields when applicable.
See the pull call records recipe.