---
title: "Download Document Attachment"
method: GET
path: "/public/v1/documents/{id}/attachments/{attachment_id}/download"
tags: ["Document Attachments"]
---

# Download Document Attachment

`GET /public/v1/documents/{id}/attachments/{attachment_id}/download`

## Request

- Base URL: `https://api.pandadoc.com`
- URL: `https://api.pandadoc.com/public/v1/documents/{id}/attachments/{attachment_id}/download`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://app.pandadoc.com/oauth2/authorize`
    - Token URL: `https://api.pandadoc.com/oauth2/access_token`
- TypeScript: <https://skmtc.dev/pandadoc/apis/pandadoc-public-api/docs/public/v1/documents/:id/attachments/:attachment_id/download/get.ts> (a function with typed inputs; its response is checked against the schema)

Download an attachment by ID.

## Path parameters

- `id` string, required
- `attachment_id` string, required

## Response `200`

OK

## Other responses

- `401`: Authentication error
- `404`: Not found
- `409`: Conflict
- `429`: Too Many Requests

---

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