---
title: "List attachments"
method: GET
path: "/attachments"
tags: ["Attachments"]
---

# List attachments

`GET /attachments`

Retrieve a list of all attachments. The returned list is [paginated](#pagination) and can
be scrolled by following the `next` and `prev` links where present.

## Response `200`

Successful Response

- ListAttachmentsResponse — Successful response to get all attachments. This returns a paginated list of attachments, which can be scrolled by following the `prev` and `next` links if present.
  - `data` AttachmentResource[], required — The list of attachments returned in this response.
    - `type` string, required — The type of this resource: `attachments`
    - `id` string, required — The unique identifier for this attachment.
    - `attributes` object, required
      - `createdAt` string, date-time, nullable, required — The date-time when the file was created.
      - `fileURL` string, nullable, required — A temporary link to download the file.
      - `fileURLExpiresAt` string, date-time, required — The date-time at which the `fileURL` link expires.
      - `fileExtension` string, nullable, required — File extension for the uploaded attachment.
      - `fileContentType` string, nullable, required — Content type for the uploaded attachment.
    - `relationships` object, required
      - `transaction` object, required
        - `data` object, required
          - `type` string, required — The type of this resource: `transactions`
          - `id` string, required — The unique identifier of the resource within its type.
        - `links` object
          - `related` string, required — The link to retrieve the related resource(s) in this relationship.
    - `links` object
      - `self` string, required — The canonical link to this resource within the API.
  - `links` object, required
    - `prev` string, nullable, required — The link to the previous page in the results. If this value is `null` there is no previous page.
    - `next` string, nullable, required — The link to the next page in the results. If this value is `null` there is no next page.

## Changes

- **2024-08-05** (v1) `0026d0a1e76c` — 1 info
  - endpoint added
- **2020-07-21** (v1) `2ac77a5de971` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/up-banking/apis/up-api/changes/attachments/get.md)

---

[API](https://skmtc.dev/up-banking/apis/up-api.md) · [All operations](https://skmtc.dev/up-banking/apis/up-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/up-banking/up-api/revisions/cc6a5e6d809d/schema)
