---
title: "Retrieve CDR detailed information."
method: GET
path: "/cdrs/{id}"
tags: ["CDR"]
---

# Retrieve CDR detailed information.

`GET /cdrs/{id}`

Retrieve details of CDR.

## Path parameters

- `id` string, required — The unique ID of the resource.

## Response `200`

OK

- object
  - `items` object[]
    - `caller` string — The caller number of the call.
    - `caller_domain` string — The caller domain of the call.
    - `caller_display_name` string — The caller display name of the call.
    - `callee` string — The callee number of the call.
    - `callee_domain` string — The callee domain of the call.
    - `callee_display_name` string — The callee display name of the call.
    - `started_at` string, date_time — The RFC 3339 format is defined by The date_time notation as defined by [RFC 3339, section 5.6](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6), for example, 2017-07-21T17:32:28Z
    - `rang_at` string, date_time — The RFC 3339 format is defined by The date_time notation as defined by [RFC 3339, section 5.6](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6), for example, 2017-07-21T17:32:28Z
    - `answered_at` string, date_time — The RFC 3339 format is defined by The date_time notation as defined by [RFC 3339, section 5.6](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6), for example, 2017-07-21T17:32:28Z
    - `ended_at` string, date_time — The RFC 3339 format is defined by The date_time notation as defined by [RFC 3339, section 5.6](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6), for example, 2017-07-21T17:32:28Z
    - `call_id` string — The call ID of CDR.
    - `direction` 'INBOUND_CALL' | 'OUTBOUND_CALL' | 'EXTENSION_CALL' | 'INBOUND_OUTBOUND_CALL' — The direction of CDR: - `INBOUND_CALL`: - `OUTBOUND_CALL`: - `EXTENSION_CALL`: - `INBOUND_OUTBOUND_CALL`:
    - `end_reason` 'CALLER_DISCONNECTED' | 'CALLEE_DISCONNECTED' | 'BLIND_TRANSFER_COMPLETED' | 'CONSULT_TRANSFER_COMPLETED' | 'REPLACED' | 'REFERRED' | 'REDIRECTED' | 'CANCELLED' — The ended reason of CDR: Can be either: - `CALLER_DISCONNECTED`: - `CALLEE_DISCONNECTED`: - `BLIND_TRANSFER_COMPLETED`: - `CONSULT_TRANSFER_COMPLETED`: - `REPLACED`: - `REFERRED`: - `REDIRECTED`: - `CANCELLED`:
    - `reroute_reason` 'TRANSFER' | 'OVERFLOW' — The reroute reason of CDR: Can be either: - `TRANSFER`: - `OVERFLOW`:
    - `status_code` integer — The status code of CDR.
    - `destination` string — The destination number of CDR.
    - `outbound_caller_id` string — Outbound caller id.
    - `did_cid` string — The DID CID of CDR.
    - `trunk` string — The trunk name of CDR.
    - `duration` integer — The total talk time for a session (in seconds).
    - `cost` number, double — The cost for this call.
    - `billed_account` string — The account name for billing.
    - `service_number` string — The service number of the call.
    - `user_data` string — The additional custom user data of CDR.

## Other responses

- `4XX` — Error

---

[API](https://skmtc.net/portsip/apis/portsip-pbx-rest-api.md) · [All operations](https://skmtc.net/portsip/apis/portsip-pbx-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portsip/portsip-pbx-rest-api/revisions/577415d4a3d5/schema)
