Sub-resources of messages

All available methods for the sub-resources of the resource messages.

Get a message detail

Get a message detail with customer data.
[badge-blue GET] /messages/{message_id}/detail

Path parameters

Parameter name Type Description Mandatory (Yes/No)
message_id string The unique id of the Message Yes

Response

Status code: 200 OK
Output structure : object

Parameter name Type Description
plain_text_body string Plain text body of the message
html_body string HTML body of the message
html_body string HTML body of the message
last_change string Date and time of the last change
(YYYY-MM-DD HH:MM:SS)

Example response

HTTP/1.1 200 OK
Date: Fri, 14 Aug 2020 09:43:44 GMT
Content-Type: application/json; charset=utf-8

{
  "data": {
    "plain_text_body": "Text orci lorem, maximus ac tortor at, feugiat libero. Lorem ipsum dolor sit amet, consectetur adipiscing elit. \nDonec quam augue, gravida vitae imperdiet a, fermentum et est. Sed sit amet sem pharetra, porta ipsum vel, hendrerit diam. \nNunc orci lorem, maximus ac tortor at, feugiat vestibulum libero. Sed vestibulum leo at odio varius, ut hendrerit ante viverra.\nNunc orci lorem, maximus ac tortor at, feugiat vestibulum libero. Sed vestibulum leo at odio varius, ut hendrerit ante viverra.\nLorem ipsum dolor sit amet libero.",
    "html_body": "",
    "last_change": "2015-01-05 14:00:41"
  }
}