Fetches a list of attachment IDs linked to a message (Email) in Microsoft Graph
| URL | https://api.telecomx.dk/helpcenter/message/ID/attachments | |
|---|---|---|
| Method | GET | |
| Access Level | RESELLER, RESELLER_ADMIN or ADMIN | |
| Params | id | Id of the message |
https://api.telecomx.dk/helpcenter/message/snjkvnadpnbsropjbnosjbnos/attachments
| attachments | Array | Array of attachments |
|---|---|---|
| attachments.id | String | Id of the attachment, given by Graph |
| attachments.name | String | Name of the attachment - image.png, test.pdf, etc. |
| attachments.contentType | String | Type of the attachment: image/png, pdf, etc. |
| attachments.isInline | boolean | True if the attachment is inline in the message or if it's attached |
{ attachments: [ { id: "dasojfoahdfpdafna", name: "flotfil.pdf", contentType: "pdf", isInline: false }, { id: "fishngpaenfpanp", name: "logo.png", contentType: "image/png", isInline: true } ]
| Error code | Message | Description |
|---|---|---|
| 404 | attachments | no attachments found |