REST API: GET message body
Warning: You are viewing the documentation for the old REST API. We recommend using version 2 of the REST API.
If you want to retrieve the body of a message sent with Marketing Suite you can send a GET request to the following URL:
$id is the unique string that identifies a message and
the format for the message. Don't forget to add your access token!
This method can not be called with a PHP script.
The message can be returned in three formats:
- MIME: Internet standard for email
- HTML: HyperText Language Markup/internet markup
- Text: Simple plain text
Depending on the format the output looks different. MIME includes all the headers for example, while text only shows the plain text.