---
title: "Show attachment"
method: GET
path: "/v2/attachments/{id}"
tags: ["Attachments"]
---

# Show attachment

`GET /v2/attachments/{id}`

OAuth scope: `organization.read`

---

Obtain the details (e.g: download URL) for a specific attachment.

---

Inside Qonto, attachments are files uploaded onto transactions by users. Attachments typically correspond to the *invoice* or *receipt*, and are used to justify the transactions from a bookkeeping standpoint.

You can retrieve the IDs of those attachments inside each Transaction object, by calling [List transactions](/reference/openapi_v2.yml/paths/~1v2~1transactions/get).

Probative attachment is another version of attachment, compliant with [PAdES](https://en.wikipedia.org/wiki/PAdES) standard.

**Important**: for security reasons, the `url` you retrieve for each Attachment is only valid for 30 minutes. If you need to download the file after more than 30 minutes, you will need to perform another authenticated call in order to generate a new download URL.

Note: if you download the file using `curl`, replace the `\u0026` references by `&` in the `url` string.

## Path parameters

- `id` string, required

## Headers

- `X-Qonto-Staging-Token` string

## Response `200`

returns an attachment

- object
  - `attachment` object
    - `id` string
    - `created_at` string
    - `file_name` string
    - `file_size` string
    - `file_content_type` string
    - `url` string
    - `probative_attachment` object
      - `status` string
      - `file_name` string
      - `file_content_type` string
      - `file_size` string
      - `url` string

## Other responses

- `401` — returns an unauthorized error

---

[API](https://skmtc.net/hiit-consulting-fr/apis/qonto.md) · [All operations](https://skmtc.net/hiit-consulting-fr/apis/qonto/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiit-consulting-fr/qonto/revisions/25208d6f9deb/schema)
