> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nottoad.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Получить ссылку на запись

> GET /v1/pulso/calls/\{callId}/recording

Запросите временный адрес записи после звонка.

> [!NOTE]
>
> Scope: `pulso.calls.read`. [Аутентификация](https://docs.nottoad.com/ru/api/authentication.md).

## Заголовки

**X-Api-Key** `string` *required*

Клиентский API-ключ. Храните его на сервере.

## Параметры пути

**callId** `string` *required*

ID звонка из ответа на постановку в очередь.

## Ответ · 302

Заголовок Location ответа 302 содержит временный адрес записи, когда она доступна. Отключите автоматический переход и загрузите запись по этому адресу без X-Api-Key. Во время загрузки запись может быть недоступна.

## Ошибки

| HTTP | Значение | code |
| - | - | - |
| `404` | Запись недоступна либо звонок не найден. | `NOT_FOUND` |

```bash cURL theme={null}
curl -i -X GET 'https://console.nurrel.io/v1/pulso/calls/550e8400-e29b-41d4-a716-446655440000/recording' \
  -H 'X-Api-Key: YOUR_CUSTOMER_KEY'
# Read Location from the 302 response, then request it without X-Api-Key.
curl 'SIGNED_URL_FROM_LOCATION' --output recording.wav
```

```javascript JavaScript theme={null}
const response = await fetch('https://console.nurrel.io/v1/pulso/calls/550e8400-e29b-41d4-a716-446655440000/recording', {
  method: 'GET',
  headers: { 'X-Api-Key': process.env.NURREL_API_KEY },
  redirect: 'manual',
});
const recordingUrl = response.headers.get('Location');
if (response.status !== 302 || !recordingUrl) throw new Error('Recording unavailable');
const recording = await fetch(recordingUrl); // No X-Api-Key on this request.
```

```python Python theme={null}
import os, requests
response = requests.request('GET', 'https://console.nurrel.io/v1/pulso/calls/550e8400-e29b-41d4-a716-446655440000/recording',
    headers={ 'X-Api-Key': os.environ['NURREL_API_KEY'] },
    allow_redirects=False)
recording_url = response.headers.get('Location')
if response.status_code != 302 or not recording_url:
    raise RuntimeError('Recording unavailable')
recording_response = requests.get(recording_url)  # No X-Api-Key on this request.
```

```text Ответ theme={null}
HTTP/1.1 302
Location: SIGNED_URL
```

## Что дальше

[Откройте обзор API PULSO](https://docs.nottoad.com/ru/api/pulso-calls.md) или [события и вебхуки](https://docs.nottoad.com/ru/api/pulso-events.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.