# Download a recording (signed link)

`GET https://api.morevoice.ai/v1/recordings/{token}`

The URL a recording link points at. No API key: the token is the credential, valid for one call for 15 minutes. Supports Range requests.

No authentication.

Operation ID: `calls_download_recording`.

## Parameters

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `token` | `string` | yes | The signed token of a recording link. |

## Responses

### 200 OK

The recording audio (the whole file, or the requested Range with 206).

### 404 Not Found

No object with this ID (in the path or the body) exists in this organisation and mode. Returns `ErrorEnvelope`.

### 500 Internal Server Error

Something went wrong on MoreVoice's side. Retry with the same Idempotency-Key. Returns `ErrorEnvelope`.

### 503 Service Unavailable

A dependency this endpoint needs (a speech or language model, file storage) is temporarily unavailable. Retry later. Returns `ErrorEnvelope`.

## Code samples

**TypeScript**

```ts
import MoreVoice from "@morevoice/sdk";

const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment

const data = await mv.calls.downloadRecording("token_123");
console.log(data);
```

**Python**

```python
from morevoice import MoreVoice

client = MoreVoice()  # MOREVOICE_API_KEY from the environment

data = client.calls.download_recording("token_123")
print(len(data), "bytes")
```

**cURL**

```sh
curl https://api.morevoice.ai/v1/recordings/token_123
```
