Read message
GET
/v1/messages/{id}Path parameters
idstringrequiredResponses
200Successful response
idstringorgstringgymstringthreadstringcustomerstringuserstringThe team member who sent the message, for messages sent from the inbox.
flowstringThe flow that sent the message, if any.
listMessagestringThe blast that sent the message, if any.
bodystringsubjectstringEmail subject, for email messages.
directionstringAllowed:
incomingoutgoingstatusstringAllowed:
queuedscheduledsendingsentfailedprotocolstring`http` is used for form submissions.
Allowed:
smsemailhttpvoipproviderstringAllowed:
heliostwiliopostmarkproviderIdstringThe delivery provider's ID for the message.
segmentsintegerBillable SMS segments.
mediaobject[]Show propertiesHide properties
Array of
objectcontentTypestringurlstringlinksobject[]Tracked short links in the message body.
Show propertiesHide properties
Array of
objectpathstringurlstringscheduleDatestring<date-time>createdAtstring<date-time>updatedAtstring<date-time>403The message belongs to a different inbox
Request
curl -X GET "https://api.sendhelios.com/v1/messages/string"const response = await fetch("https://api.sendhelios.com/v1/messages/string", {
method: "GET"
});import requests
response = requests.get(
"https://api.sendhelios.com/v1/messages/string",
)Response
{
"id": "string",
"org": "string",
"gym": "string",
"thread": "string",
"customer": "string",
"user": "string",
"flow": "string",
"listMessage": "string",
"body": "string",
"subject": "string",
"direction": "incoming",
"status": "queued",
"protocol": "sms",
"provider": "helios",
"providerId": "string",
"segments": 0,
"media": [
{
"contentType": "string",
"url": "string"
}
],
"links": [
{
"path": "string",
"url": "string"
}
],
"scheduleDate": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}The message belongs to a different inbox