---
title: "List an Outlook message's attachments as the calling member"
method: GET
path: "/v1/capabilities/microsoft-365/mail-attachments/{messageId}"
tags: ["Capability Sources"]
---

# List an Outlook message's attachments as the calling member

`GET /v1/capabilities/microsoft-365/mail-attachments/{messageId}`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/capabilities/microsoft-365/mail-attachments/{messageId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Lists one Outlook message's attachments with their name, type, size and kind. Only file attachments have bytes: pass one's id to the mail-attachment capability to download it. Read-only.

## Path parameters

- `messageId` string, required

## Response `200`

Outlook attachments returned.

- Microsoft365MailAttachmentsResponse
  - `ok` true, required
  - `attachments` Microsoft365MailAttachment[], required
    - `id` string, required
    - `name` string, required
    - `contentType` string, required
    - `size` number, nullable, required
    - `isInline` boolean, required: Shown inside the message body, such as a signature image, rather than as a separate file.
    - `kind` 'file' | 'item' | 'reference' | 'unknown', required: Only file attachments have bytes to download; item is an attached Outlook item and reference a link to a cloud file.

## Other responses

- `401`: The caller must be signed in.
- `409`: The calling member has not connected their Microsoft account or is missing permission.
- `502`: Microsoft Graph rejected the request.

## Changes

- **2026-10-27** `78491ac9c743`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/capabilities/microsoft-365/mail-attachments/:messageId/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/8117bc7c5626?raw)
