---
title: "Show/download attachment"
method: GET
path: "/documents/{document}/attachments/{attachment}"
tags: ["Document Operations"]
---

# Show/download attachment

`GET /documents/{document}/attachments/{attachment}`

## Request

- Base URL: `https://app.fynk.com/v1/api`
- URL: `https://app.fynk.com/v1/api/documents/{document}/attachments/{attachment}`
- Auth: HTTP bearer

<small>Requires an API token with the **Document Reader** role.</small>

Returns the details of a single attachment of the given [document](/#documents).

The `download_url` field of the response contains a temporary URL that can be used to fetch the file content. The
URL is pre-authenticated - i.e. it can be requested without sending any additional HTTP headers.

Note that the `download_url` will expire a short time after the response is returned. If the URL has expired,
this endpoint can be requested again to obtain a new `download_url`.

## Path parameters

- `document` string, required
- `attachment` string, required

## Response `200`

`AttachmentResource`

- object
  - `data` AttachmentResource, required
    - `uuid` string, required: UUID of the attachment.
    - `sha256` string, required: SHA256 hash of the attachment file.
    - `file_name` string, required: Name of the attachment.
    - `file_size` integer, required: Size of the attachment file in bytes.
    - `mime_type` string, required: MIME type of the attachment file.
    - `download_url` string, required: The file can be downloaded from this URL. Note that this URL will expire after a short time

## Other responses

- `401`: Unauthenticated
- `403`: Authorization error
- `404`: Not found

## Changes

- **2026-11-02** `121033338e69`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fynk/apis/fynk-api-reference/changes/documents/:document/attachments/:attachment/get.md)

---

[API](https://skmtc.dev/fynk/apis/fynk-api-reference.md) - [All operations](https://skmtc.dev/fynk/apis/fynk-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/fynk/apis/fynk-api-reference/revisions/121033338e69?raw)
