Up

Up Attachments API

Attachments represent uploaded files that are attached to transactions, these are commonly receipts.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /attachments List my account attachments · List attachments #
Ask an LLM
“What documents have I attached to my account?”
“Can I see all my attachments in one list?”
Tell an agent
List all my account attachments.
Show every document I've attached to my account.
GET /attachments/{id} Retrieve one attachment · Retrieve attachment #
Ask an LLM
“How do I fetch a single document attachment by its ID?”
“Can I look up one attachment by its unique identifier?”
Tell an agent
Retrieve attachment {id}.
Fetch the document with attachment ID {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/up-bank:up-bank-attachments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

up-bank-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Up Attachments API
  version: v1
  description: 'The Up API gives you programmatic access to your balances and

    transaction data. You can request past transactions or set up

    webhooks to receive real-time events when new transactions hit your

    account. It’s new, it’s exciting and it’s just the beginning.'
  contact:
    name: API Specification and Support
    url: https://github.com/up-banking/api
servers:
- url: https://api.up.com.au/api/v1
security:
- bearer_auth: []
tags:
- name: Attachments
  description: Attachments represent uploaded files that are attached to transactions, these are commonly receipts.
paths:
  /attachments:
    get:
      tags:
      - Attachments
      summary: List attachments
      description: 'Retrieve a list of all attachments. The returned list is paginated and can

        be scrolled by following the `next` and `prev` links where present.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAttachmentsResponse'
          x-up:example:
            type: exampleRequestResponse
            request:
              headers:
                Authorization: Bearer up:demo:cV5W9g033vq1tYZ4
              pathParameters: {}
              queryParameters: {}
              payload: null
            response:
              data:
              - type: attachments
                id: 23bc06a0-cff4-40ae-bcb3-463fac19b5b0
                attributes:
                  createdAt: '2024-08-06T12:18:31+10:00'
                  fileURL: http://localhost:8080/asset/customer_transaction_attachment.jpg?filename=uploads%2Fcustomer_transaction_attachments%2Fmodels%2Fattachment%2Ffile%2F1%2Fattachment.jpg&timestamp=1722910712&token=881b77d17579aa98214271fc29a3e4b4438b937e0e818b0f543fdb5bd921822c
                  fileURLExpiresAt: '2024-08-06T12:33:32+10:00'
                  fileExtension: jpg
                  fileContentType: image/jpeg
                relationships:
                  transaction:
                    data:
                      type: transactions
                      id: 9dd0a25a-c5ca-46c6-8e07-420274d5e8fe
                    links:
                      related: https://api.up.com.au/api/v1/transactions/9dd0a25a-c5ca-46c6-8e07-420274d5e8fe
                links:
                  self: https://api.up.com.au/api/v1/attachments/23bc06a0-cff4-40ae-bcb3-463fac19b5b0
              - type: attachments
                id: 86f6e316-691e-48a6-b896-331362bb9b52
                attributes:
                  createdAt: '2024-08-06T12:18:31+10:00'
                  fileURL: http://localhost:8080/asset/customer_transaction_attachment.jpg?filename=uploads%2Fcustomer_transaction_attachments%2Fmodels%2Fattachment%2Ffile%2F2%2Fattachment.jpg&timestamp=1722910712&token=a775955e0ae11f61b453dbdc9bd6d06b303a3aa4e6abacdcd1def8e4f8351559
                  fileURLExpiresAt: '2024-08-06T12:33:32+10:00'
                  fileExtension: jpg
                  fileContentType: image/jpeg
                relationships:
                  transaction:
                    data:
                      type: transactions
                      id: 40390cc7-8c76-422f-b2a0-7a22c7d1c915
                    links:
                      related: https://api.up.com.au/api/v1/transactions/40390cc7-8c76-422f-b2a0-7a22c7d1c915
                links:
                  self: https://api.up.com.au/api/v1/attachments/86f6e316-691e-48a6-b896-331362bb9b52
              links:
                prev: null
                next: null
      operationId: getAttachments
      x-operation-id-source: derived
  /attachments/{id}:
    get:
      tags:
      - Attachments
      summary: Retrieve attachment
      description: Retrieve a specific attachment by providing its unique identifier.
      parameters:
      - name: id
        in: path
        schema:
          type: string
        required: true
        example: 3672d7fb-e56d-4c4a-b546-7c11ddb5e5e7
        description: 'The unique identifier for the attachment.

          '
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAttachmentResponse'
          x-up:example:
            type: exampleRequestResponse
            request:
              headers:
                Authorization: Bearer up:demo:lfQuAyww8UOTKTD4
              pathParameters:
                id: 4fcb7c00-5332-41bb-ae5a-26b66dda316b
              queryParameters: {}
              payload: null
            response:
              data:
                type: attachments
                id: 4fcb7c00-5332-41bb-ae5a-26b66dda316b
                attributes:
                  createdAt: '2024-08-06T12:18:33+10:00'
                  fileURL: http://localhost:8080/asset/customer_transaction_attachment.jpg?filename=uploads%2Fcustomer_transaction_attachments%2Fmodels%2Fattachment%2Ffile%2F5%2Fattachment.jpg&timestamp=1722910713&token=3abc7139ebfbcaee1dc8a37d5bf0bc7d02334857919d7ce6695629bf340afbad
                  fileURLExpiresAt: '2024-08-06T12:33:33+10:00'
                  fileExtension: jpg
                  fileContentType: image/jpeg
                relationships:
                  transaction:
                    data:
                      type: transactions
                      id: b416028a-9c12-4716-a759-94913fe4dd49
                    links:
                      related: https://api.up.com.au/api/v1/transactions/b416028a-9c12-4716-a759-94913fe4dd49
                links:
                  self: https://api.up.com.au/api/v1/attachments/4fcb7c00-5332-41bb-ae5a-26b66dda316b
      operationId: getAttachmentsById
      x-operation-id-source: derived
components:
  schemas:
    AttachmentResource:
      type: object
      properties:
        type:
          type: string
          description: 'The type of this resource: `attachments`'
        id:
          type: string
          description: 'The unique identifier for this attachment.

            '
        attributes:
          type: object
          properties:
            createdAt:
              type:
              - string
              - 'null'
              format: date-time
              description: 'The date-time when the file was created.

                '
            fileURL:
              type:
              - string
              - 'null'
              description: 'A temporary link to download the file.

                '
            fileURLExpiresAt:
              type: string
              format: date-time
              description: 'The date-time at which the `fileURL` link expires.

                '
            fileExtension:
              type:
              - string
              - 'null'
              description: 'File extension for the uploaded attachment.

                '
            fileContentType:
              type:
              - string
              - 'null'
              description: 'Content type for the uploaded attachment.

                '
          required:
          - createdAt
          - fileURL
          - fileURLExpiresAt
          - fileExtension
          - fileContentType
        relationships:
          type: object
          properties:
            transaction:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      description: 'The type of this resource: `transactions`'
                    id:
                      type: string
                      description: 'The unique identifier of the resource within its type.

                        '
                  required:
                  - type
                  - id
                links:
                  type: object
                  properties:
                    related:
                      type: string
                      description: 'The link to retrieve the related resource(s) in this relationship.

                        '
                  required:
                  - related
              required:
              - data
          required:
          - transaction
        links:
          type: object
          properties:
            self:
              type: string
              description: 'The canonical link to this resource within the API.

                '
          required:
          - self
      required:
      - type
      - id
      - attributes
      - relationships
    ListAttachmentsResponse:
      type: object
      description: '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.

        '
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AttachmentResource'
          description: 'The list of attachments returned in this response.

            '
        links:
          type: object
          properties:
            prev:
              type:
              - string
              - 'null'
              description: 'The link to the previous page in the results. If this value is `null`

                there is no previous page.

                '
            next:
              type:
              - string
              - 'null'
              description: 'The link to the next page in the results. If this value is `null`

                there is no next page.

                '
          required:
          - prev
          - next
      required:
      - data
      - links
    GetAttachmentResponse:
      type: object
      description: 'Successful response to get a single attachment.

        '
      properties:
        data:
          description: 'The attachment returned in this response.

            '
          allOf:
          - $ref: '#/components/schemas/AttachmentResource'
      required:
      - data
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
x-provenance:
  method: harvested
  publisher: Up
  source: https://raw.githubusercontent.com/up-banking/api/master/v1/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)