v1

latestOpenAPI 3.0.32026-07-246376162.1 KB
Reporting

Get CDR

Returns detailed information about a specific Call Detail Record (CDR).

get/api/v4/reporting/cdrs/{cdr_id}

Path parameters

cdr_idstring uuid required
Example:7d7f8c74-da08-4eb3-b779-41364c129d8a

The unique identifier of the CDR.

Response

OK

Example response

{
  "cdr": {
    "id": "775a5558-59a6-4468-a502-0deef2a3315d",
    "type": "call",
    "subtype": "outbound",
    "from": {
      "type": "phone_number",
      "phone_number": "18885658889"
    },
    "to": {
      "type": "phone_number",
      "phone_number": "18885658889"
    },
    "account_id": "123321",
    "user": {
      "id": 1,
      "name": "Jane Doe",
      "email": "jane.doe@contactcenter.com",
      "name_snapshot": "Snapshot name"
    },
    "cost": "0.055",
    "tags": [
      "conference",
      "whisper"
    ],
    "started_at": "2020-08-19T11:32:43.413000Z",
    "ended_at": "2020-08-19T11:33:11.031000Z",
    "data": {
      "queue": {
        "id": 1,
        "name": "Technical Support",
        "name_snapshot": "Snapshot name"
      },
      "campaign": {
        "id": 9,
        "name": "Retention Outreach",
        "name_snapshot": "Snapshot name"
      },
      "destination_country": "France",
      "durations": {
        "overall": 27.618,
        "dialing": 5.783,
        "queue": 10.796,
        "talk": 21.835
      },
      "end_reason": "customer",
      "wrapup_code": {
        "code_snapshot": "0000"
      },
      "summary": "The agent called the customer to follow up on a previous inquiry.",
      "conversation_score": 3.3,
      "mos": 4.37,
      "mos_tc": 3.9
    }
  }
}