---
title: "bird whatsapp files download"
description: "Download an uploaded WhatsApp file"
canonical: "https://bird.com/docs/cli/reference/whatsapp-files-download"
---

# `bird whatsapp files download`

## Usage

```bash
bird whatsapp files download <file-id> [flags]
```

## Description

Download the bytes of one file uploaded with `bird whatsapp files upload`, to check
that it holds what you mean to send.

The bytes are written to --output when set, and stdout then carries a JSON receipt
with the file's content type and filename. Without --output the bytes go to stdout:

bird whatsapp files download waf\_123 --output invoice.pdf

## Examples

```bash
bird whatsapp files download <file-id> --output invoice.pdf
```

## Options

| Name           | Description                                    |
| -------------- | ---------------------------------------------- |
| `--output, -o` | Write the bytes to this file instead of stdout |

## Related

| Name                                                                      | Description            |
| ------------------------------------------------------------------------- | ---------------------- |
| [`bird whatsapp files get`](/docs/cli/reference/whatsapp-files-get)       | Get a WhatsApp file    |
| [`bird whatsapp files upload`](/docs/cli/reference/whatsapp-files-upload) | Upload a WhatsApp file |

## 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)
