---
title: "Download document attachment"
method: GET
path: "/document/{document_id}/attachment/{attachment_id}/download"
---

# Download document attachment

`GET /document/{document_id}/attachment/{attachment_id}/download`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/document/{document_id}/attachment/{attachment_id}/download`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/document/:document_id/attachment/:attachment_id/download/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows API users to download a file that a signer uploaded to an attachment field of the document.

**Notes**

* Get `attachment_id` from the `id` of an item in the `attachments` array returned by [Get document](/docs/document/operations/get-document).
* The file is returned as uploaded, with a `Content-Disposition: attachment` header that carries the original file name.

## Response `200`

The attached file. The content type matches the uploaded file, for example `image/jpeg` or `application/pdf`.

- unknown

## Other responses

- `400`: The attachment with this `attachment_id` is not found.

---

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