- 1 Minute to read
- Print
- DarkLight
/preparedmessage/get
- 1 Minute to read
- Print
- DarkLight
Returns a prepared message identified by the messageId, personalized for contactId.
The prepared message ID
The contact ID to personalize message for. It has to be the member of the prepared message's group. Note: empty - Leave contact empty to get not personalized (raw) message
{
"contactId": 45802709,
"messageId": 7579,
"name": "JohnPreparedWithCustom20220215",
"groupId": 3302,
"groupName": "John20220208",
"selectionId": null,
"selectionName": null,
"channelId": 327699,
"channelName": "DMC Email",
"externalId": null,
"messageCategoryId": null,
"messageCategoryName": null,
"message": {
"subject": "JohnPreparedWithCustom20220215",
"emailBodyText": null,
"emailBodyHtml": "
"smsText": null,
"faxText": null,
"emailHeaders": [],
"attachments": [],
"attachmentReferences": null,
"encoding": "ISO-8859-1",
"encodingSMS": "ISO-8859-1",
"imageHandlingMode": "none"
}
}
Please enter a valid prepared message ID, Please enter a valid test contact ID to get the personalized HTML. Leave it blank to get the raw HTML, No membership for user '25493969' in group '2186' found.