MailAttachmentList

Summary

  • Lists attachments for a specific message so users can preview or download files.

Graph Endpoint

  • GET /me/messages/{messageId}/attachments

Parameters

Required

  • messageId: string — The message id (alias: id).

Optional

  • top: number — 1..100

Usage (app.businessFunction)

Minimal

app.businessFunction({
  functionName: 'MicrosoftGraph',
  methodName: 'Mail',
  operation: 'AttachmentList',
  parameters: {
    messageId: 'AAMkAGI2N...'
  }
})

Response

{
  "items": [
    { "id": "...", "name": "report.pdf", "contentType": "application/pdf", "size": 123456 }
  ],
  "nextLink": "..."
}

Last updated

Was this helpful?