---
title: "bird voice legs recordings audio"
description: "Download a leg recording's audio"
canonical: "https://bird.com/docs/cli/reference/voice-legs-recordings-audio"
---

# `bird voice legs recordings audio`

## Usage

```bash
bird voice legs recordings audio <leg-id> <recording-id> [flags]
```

## Description

Download one recording of a call as a WAV file. The leg id and recording id are
the `leg_id` and `id` on an entry in `recordings` from
`bird voice calls recordings list`.

The bytes are written to --output when set, otherwise to stdout:

bird voice legs recordings audio vcl\_123 vrc\_456 --output call.wav

--url prints the short-lived download URL (valid for 15 minutes) instead of
downloading, for handing to another tool. That URL is pre-authorized: anyone
holding it can hear the recording, and the follow-up request must not send an
Authorization header. --url and --output cannot be combined.

A recording whose capture is still running exits with a retryable error until
the audio is stored. Audio expires 30 days after the recording starts, and this
exits with a not-found error from then on.

## Examples

```bash
bird voice legs recordings audio <leg-id> <recording-id> --output call.wav
```

## Options

| Name           | Description                                               |
| -------------- | --------------------------------------------------------- |
| `--output, -o` | Write the bytes to this file instead of stdout            |
| `--url`        | Print the short-lived download URL instead of downloading |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
