---
title: "List message attachments"
method: GET
path: "/v1/inbox/{uid}/attachments"
tags: ["Inbox"]
---

# List message attachments

`GET /v1/inbox/{uid}/attachments`

## Request

- Base URL: `https://api.winnr.app`
- URL: `https://api.winnr.app/v1/inbox/{uid}/attachments`
- Auth: HTTP bearer

Fetch attachment metadata for an inbox message. Connects to the
mailbox's IMAP server and walks the MIME structure.

## Path parameters

- `uid` string, required

## Query parameters

- `mailbox` string, required

## Response `200`

Attachment metadata list

- object
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
  - `data` object
    - `attachments` AttachmentMeta[]
      - `filename` string
      - `content_type` string
      - `size` integer: File size in bytes
      - `part_index` integer: MIME part index

## Other responses

- `401`: Authentication required or token invalid

---

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