---
title: Dataphone CDR API Integration Guide
description: "## Extracting Call Detail Records (CDR), Call Recordings, AI Transcriptions & AI Insights This document provides the API specifications required to integrate with the Dataphone Reporting API for retrieving **Call Detail Records (CDR)**, **call recordings**, **AI-generated call transcriptions, and Insights.**…"
url: "https://www.dataphone.cloud/docs/dataphone-cdr-api-integration-guide/"
updated: "2026-09-23"
category: API
---

# Dataphone CDR API Integration Guide

## Extracting Call Detail Records (CDR), Call Recordings, AI Transcriptions & AI Insights

This document provides the API specifications required to integrate with the Dataphone Reporting API for retrieving **Call Detail Records (CDR)**, **call recordings**, **AI-generated call transcriptions, and Insights.**

> **Important:** These APIs are available only for customers with the appropriate services enabled.
>
>
>
> Before beginning your integration, ensure you have obtained an **API Key** from **Dataphone Technical Support**. The API key is required to authenticate every request.

---

# Authentication

All API requests require authentication using a Bearer Token.

### Request Header

```
Authorization: Bearer YOUR_API_KEY
```

Replace `YOUR_API_KEY` with the API key provided by Dataphone Technical Support.

---

# 1. Retrieve Call Detail Records (CDR)

Use this endpoint to retrieve Call Detail Records for a specific date.

## API Endpoint

```
https://reporting-api.dataphone.cloud/cdr
```

## HTTP Method

```
POST
```

## Request Headers

| Header | Value |
| --- | --- |
| Content-Type | application/json |
| Authorization | Bearer YOUR_API_KEY |

---

## Request Body

The request body must be sent in JSON format.

```
{
  "filters": {
    "datetime": "2026-07-09~2026-07-10"
  }
}
```

### Date Format

The `datetime` parameter must use the following format:

```
YYYY-MM-DD
```

Example:

```
2026-06-28
```

---

## Successful Response

A successful request returns a JSON array containing the Call Detail Records for the specified date.

Each CDR record includes a unique **ID**, which is required to retrieve the associated call recording or AI transcription.

Example (truncated):

```
[
    {
        "id": "123456789",
        "caller_id": "2125551000",
        "destination": "1001",
        "start_time": "2026-06-28T14:35:12Z",
        "duration": 185
    }
]
```

---

# 2. Retrieve Call Recording

After obtaining the CDR results, locate the **ID** for the desired call record.

Use that ID to retrieve the corresponding call recording.

## API Endpoint

```
https://recordings.dataphone.cloud/recordings/ID
```

Replace:

```
ID
```

with the CDR record ID returned from the CDR API.

Example:

```
https://recordings.dataphone.cloud/recordings/123456789
```

---

## HTTP Method

```
GET
```

---

## Request Headers

| Header | Value |
| --- | --- |
| Content-Type | application/json |
| Authorization | Bearer YOUR_API_KEY |

---

## Successful Response

If a recording exists, the API returns the recording associated with the specified CDR ID.

---

# 3. Retrieve AI Call Transcription

If AI Transcription is enabled for your account, you can retrieve the AI-generated transcription using the same CDR ID.

## API Endpoint

```
https://recordings.dataphone.cloud/transcription/ID
```

Replace:

```
ID
```

with the CDR record ID returned from the CDR API.

Example:

```
https://recordings.dataphone.cloud/transcription/123456789
```

---

## HTTP Method

```
GET
```

---

## Request Headers

| Header | Value |
| --- | --- |
| Content-Type | application/json |
| Authorization | Bearer YOUR_API_KEY |

---

## Successful Response

If AI transcription is available for the specified recording, the API returns the transcription in JSON format.

---

# 4. Retrieve AI Call Insights

If AI Insights are enabled for your account, you can retrieve the AI-generated Insights (such as call summary, Call Rating, Sentiment Analysis, Lead & Opportunity Detection, Keyword & Topic Detection, Call Categorization, and much more) using the same CDR ID.

## API Endpoint

```
https://recordings.dataphone.cloud/insights/ID
```

Replace:

```
ID
```

with the CDR record ID returned from the CDR API.

Example:

```
https://recordings.dataphone.cloud/insights/123456789
```

---

## HTTP Method

```
GET
```

---

## Request Headers

| Header | Value |
| --- | --- |
| Content-Type | application/json |
| Authorization | Bearer YOUR_API_KEY |

---

## Successful Response

If AI insights are available for the specified recording, the API returns the Insights with the Insight Label and its value in JSON format

---

# Error Handling

The API may return the following HTTP status codes:

| Status Code | Description |
| --- | --- |
| **200 OK** | Request completed successfully. |
| **400 Bad Request** | Invalid request body or missing required parameters. |
| **401 Unauthorized** | Invalid or missing API key. |
| **403 Forbidden** | Your account does not have permission to access the requested resource. |
| **404 Not Found** | The requested CDR, recording, or transcription could not be found. |
| **500 Internal Server Error** | An unexpected server error occurred. Please try again later. |

---

# Troubleshooting

### Authentication Failed (401)

- Verify that the API key is included in the `Authorization` header.
- Ensure the key is formatted as:

```
Bearer YOUR_API_KEY
```

- Confirm the API key is active and has not expired.

---

### No CDR Records Returned

- Verify that the requested date contains call records.
- Ensure the `datetime` value is in the required format:

```
YYYY-MM-DD
```

---

### Recording Not Found

- Confirm the recording exists for the selected CDR.
- Verify that the correct CDR **ID** is being used.
- Some calls may not have recordings if call recording was disabled.

---

### AI Transcription Not Found

- Verify that AI Transcription is enabled for your account.
- Ensure the selected call has been successfully processed.
- Confirm that the correct CDR **ID** is being used.

---

### Internal Server Error (500)

If the issue persists after retrying the request, please contact Dataphone Technical Support and provide:

- The API endpoint being called
- Date and time of the request
- HTTP status code received
- The request payload (if applicable)
- The CDR ID (if applicable)

This information will help expedite troubleshooting.
