---
title: "bird compliance attachments get"
description: "Download an uploaded registration attachment"
canonical: "https://bird.com/docs/cli/reference/compliance-attachments-get"
---

# `bird compliance attachments get`

## Usage

```bash
bird compliance attachments get <attachment-id> [flags]
```

## Description

Download the bytes of one uploaded registration attachment, to check that an upload
holds the document it should. List attachments with `bird compliance attachments list` to find
an id.

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

bird compliance attachments get tca\_123 --output proof.pdf

## Examples

```bash
bird compliance attachments get <attachment-id> --output proof.pdf
```

## Options

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

## Related

| Name                                                                                      | Description                      |
| ----------------------------------------------------------------------------------------- | -------------------------------- |
| [`bird compliance attachments delete`](/docs/cli/reference/compliance-attachments-delete) | Delete a registration attachment |
| [`bird compliance attachments list`](/docs/cli/reference/compliance-attachments-list)     | List registration attachments    |
| [`bird compliance attachments upload`](/docs/cli/reference/compliance-attachments-upload) | Create a registration attachment |

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