---
title: "Download an attachment (binary stream)"
method: GET
path: "/attachments/{attachmentId}/download"
tags: ["Attachments"]
---

# Download an attachment (binary stream)

`GET /attachments/{attachmentId}/download`

## Request

- Base URL: `https://api.thrivedesk.com/v1`
- URL: `https://api.thrivedesk.com/v1/attachments/{attachmentId}/download`
- Auth: HTTP bearer

Download an attachment (binary stream).

## Path parameters

- `attachmentId` string, required

## Response `200`

Binary file stream. Content-Disposition header indicates the filename.

## Other responses

- `401`: Missing or invalid bearer token.
- `403`: Token is valid but does not include a required scope, or the user does not have access to the resource.
- `404`: Resource not found.
- `422`: Request body failed validation.
- `429`: Rate limit exceeded. The `Retry-After` header indicates how long to wait before retrying. See [Pagination and rate limits](/get-started/pagination) for the full rate-limit policy.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/thrivedesk/apis/thrivedesk-public-api.md) - [All operations](https://skmtc.dev/thrivedesk/apis/thrivedesk-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thrivedesk/apis/thrivedesk-public-api/revisions/dce9c632a018?raw)
