api:helpcenter:message:id:images
Table of Contents
API : Helpcenter Case Images
Introduction
Fetches images related to a message in a Helpcenter Case
Request
| URL | https://api.telecomx.dk/helpcenter/message/ID/images/ | |
|---|---|---|
| Method | GET | |
| Access level | RESELLER, RESELLER_ADMIN OR ADMIN | |
| Params | id | Id of the specific message |
Query Example
https://api.telecomx.dk/helpcenter/message/ehaiosdjpsajnojn213120/images
Response
| images | Array | Array of images |
|---|---|---|
| images.attachment | boolean | Defines whether the image is an attachment or inline. Optional |
| images.contentBytes | String | Content bytes of the image, so the frontend can display them. Has a limit of max 5 mb |
| images.contentType | String | Which type the image is: image/jpeg, image/png |
| images.contentId | String | The content ID of the images, if it has any. Optional |
Example
{ images: [ { attachment: true, contentBytes: 'A very long string', contentType: 'image/png', contentId: 'dasdaspndwa' }, { contentId: 'cid: 1231u8huo01ujd201', contentBytes: 'Another very long string', contentType: 'image/jpeg', contentId: 'daofnaepafna' } ] }
Errors
| Error code | Message | Description |
|---|---|---|
| 400 | messageId | Invalid messageId |
| 401 | helpcenter | Auth settings not found |
| 401 | helpcenter | Acccess token expired |
| 404 | helpcenter | Helpcenter not found |
| 404 | attachments | No attachments found |
api/helpcenter/message/id/images.txt · Last modified: 2025/06/25 12:51 by Mikkel Meerwaldt Jørgensen