---
title: "get all attachments for message"
method: GET
path: "/api/v1/mails/{mailServerID}/messages/{messageID}/attachments"
tags: ["attachments"]
---

# get all attachments for message

`GET /api/v1/mails/{mailServerID}/messages/{messageID}/attachments`

## Path parameters

- `mailServerID` string, required
- `messageID` string, required

## Response `200`

OK

- MailAttachments
  - `status` string
  - `data` object
    - `attachments` MailAttachment[]
      - `name` string
      - `size` number
      - `content_type` string
      - `createdAt` string
      - `id` string
      - `data` string

## Other responses

- `400` — Bad Request
- `404` — Mail Server or Mail Message not found
- `409` — Account already taken.
- `500` — Unexpected error

---

[API](https://skmtc.net/liara-cloud/apis/liara-mail-api-documentaion.md) · [All operations](https://skmtc.net/liara-cloud/apis/liara-mail-api-documentaion/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/liara-cloud/liara-mail-api-documentaion/versions/5ae39ee353b2/schema)
