User Tools

Site Tools


api:helpcenter:message:id:attachments

API: Helpcenter Case Attachments

Introduction

Fetches a list of attachment IDs linked to a message (Email) in Microsoft Graph

Request

URL https://api.telecomx.dk/helpcenter/message/ID/attachments
Method GET
Access Level RESELLER, RESELLER_ADMIN or ADMIN
Params id Id of the message

Query Example

https://api.telecomx.dk/helpcenter/message/snjkvnadpnbsropjbnosjbnos/attachments

Response

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

Example

{ 
 attachments: [
  { 
   id: "dasojfoahdfpdafna",
   name: "flotfil.pdf",
   contentType: "pdf",
   isInline: false
  },
  {
   id: "fishngpaenfpanp",
   name: "logo.png",
   contentType: "image/png",
   isInline: true
  }
 ]

Errors

Error code Message Description
404 attachments no attachments found
api/helpcenter/message/id/attachments.txt · Last modified: 2025/04/11 12:41 by Mikkel Meerwaldt Jørgensen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki