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

# Retrieve attachment

`GET /attachments/{id}`

Retrieve a specific attachment by providing its unique identifier.

## Path parameters

- `id` string, required

## Response `200`

Successful Response

- GetAttachmentResponse — Successful response to get a single attachment.
  - `data` AttachmentResource, required
    - `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.

## 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/:id/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)
