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

# List attachments

`GET /attachments`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/attachments`
- Auth: HTTP bearer

Retrieve attachments with joined file data, filtered by resource_type, resource_id, or file_id.

## Query parameters

- `resource_type` string
- `resource_id` string, uuid
- `file_id` string, uuid

## Response `200`

Attachments retrieved successfully

- object
  - `records` object[], required
    - `id` string, uuid, required
    - `file_id` string, uuid, required
    - `resource_type` string, required
    - `resource_id` string, uuid, required
    - `created_by` string, uuid, nullable, required
    - `created_at` union, required
      - string, nullable
      - string
      - unknown
    - `file_name` string, required
    - `file_key` string, required
    - `file_url` string, required
    - `file_size` number, required
    - `mime_type` string, required

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
