---
title: "Lists all attachments of a budget."
method: GET
path: "/v1/budgets/{id}/attachments"
tags: ["budgets"]
---

# Lists all attachments of a budget.

`GET /v1/budgets/{id}/attachments`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/budgets/{id}/attachments`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://demo.firefly-iii.org/oauth/authorize`
    - Token URL: `https://demo.firefly-iii.org/oauth/token`
  - HTTP bearer

Lists all attachments.

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer
- `page` integer

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

A list of attachments

- AttachmentArray
  - `data` AttachmentRead[], required
    - `type` string, string, required: Immutable value
    - `id` string, string, required
    - `attributes` AttachmentProperties, required
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `attachable_type` 'Account' | 'Budget' | 'Bill' | 'TransactionJournal' | 'PiggyBank' | 'Tag', string: The object class to which the attachment must be linked.
      - `attachable_id` string, string: ID of the model this attachment is linked to.
      - `hash` string, string: Hash of the file for basic duplicate detection.
      - `filename` string, string
      - `download_url` string, string
      - `upload_url` string, string
      - `title` string, string, nullable
      - `notes` string, string, nullable
      - `mime` string, string
      - `size` integer
    - `links` ObjectLink, required
      - `0` object
        - `rel` string, string
        - `uri` string, string
      - `self` string, uri
  - `meta` Meta, required
    - `pagination` object
      - `total` integer
      - `count` integer
      - `per_page` integer
      - `current_page` integer
      - `total_pages` integer

## Other responses

- `400`: Bad request
- `401`: Unauthenticated
- `404`: Page not found
- `422`: Validation error. The body will have the exact details.
- `500`: Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-14.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-14/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-14/revisions/73f0baf3c408?raw)
