---
title: "List Attachments"
method: GET
path: "/v1/attachment/list"
tags: ["attachment"]
---

# List Attachments

`GET /v1/attachment/list`

## Request

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

## Query parameters

- `channel_id` string, required
- `attachment_type` 'image' | 'video' | 'audio' | 'file'
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- PaginationSchemaAttachmentItem
  - `data` AttachmentItem[], required
    - `id` integer, required
    - `meta_attachment_id` string, required
    - `file_url` string, required
    - `type` 'image' | 'video' | 'audio' | 'file', required
    - `filename` string, nullable
    - `content_type` string, nullable
    - `file_size` integer, nullable
    - `created_at` string, date-time, required
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
