---
title: "Retrieve a transactions attachments"
method: GET
path: "/transactions/{transactionId}/files"
tags: ["transactions"]
---

# Retrieve a transactions attachments

`GET /transactions/{transactionId}/files`

## Request

- Base URL: `https://api.moneyhub.co.uk/v3`
- URL: `https://api.moneyhub.co.uk/v3/transactions/{transactionId}/files`
- Auth: API key in header `Authorization`

Requires **transactions:read:all** scope.

## Path parameters

- `transactionId` string, uuid, required

## Response `200`

Successful Transaction File Response

- object
  - `data` TransactionFile[]
    - `id` string, required: The id of the file attached to the transaction
    - `fileType` string, required: The MIME type of the file
    - `fileName` string, required: The name of the file attachment
    - `url` string, required: The signed URL that is valid for 5 minutes that allows access to the attachment
  - `links` Links
    - `next` string, uri: The url to retrieve the next page of results from
    - `prev` string, uri: The url to retrieve the previous page of results from
    - `self` string, uri, required: The url of the current resource(s)
  - `meta` object

## Other responses

- `401`: Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403`: Unsuccessful Response - Forbidden - Invalid scopes
- `404`: Unsuccessful Response - Resource Not found

---

[API](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3.md) - [All operations](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/revisions/2e08b5dbee56?raw)
