# Recordings

## Get the recording of the results.

<mark style="color:blue;">`GET`</mark> `https://api-v2.acrcloud.com/api/bm-bd-projects/:pid/channels/:channel_id/recordings`

This endpoint allows you to get the recordings of the results of your channels.

#### Path Parameters

| Name        | Type   | Description     |
| ----------- | ------ | --------------- |
| pid         | number | The project id. |
| channel\_id | number | The channel id. |

#### Query Parameters

| Name             | Type    | Description                                                                                 |
| ---------------- | ------- | ------------------------------------------------------------------------------------------- |
| timestamp\_utc   | string  | The start time of the recording, the format is YYYYmmddHHMMSS (for example 20210101120809). |
| played\_duration | integer | The duration of the recording(seconds).                                                     |
| record\_before   | integer | How many seconds of recording to add forward(default 0).                                    |
| record\_after    | integer | How many seconds of recording to add backwards(default 0).                                  |

#### Headers

| Name          | Type   | Description  |
| ------------- | ------ | ------------ |
| Authorization | string | Bearer token |
| Accept        | string | \*/\*        |

{% tabs %}
{% tab title="200 Get recording successfully." %}

```
```

{% endtab %}

{% tab title="404 Could not get the recording." %}

```
{    "message": "The recording is not available."    }
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="CURL" %}

```bash
curl --location --request GET 'https://api-v2.acrcloud.com/api/bm-bd-projects/100079/channels/100123/recordings?timestamp_utc=20210601121314&played_duration=30' \
--header 'Accept: */*' \
--header 'Authorization: Bearer {your token}'
```

{% endtab %}
{% endtabs %}
