Preview an email

POSThttp://localhost:4000/api/emailTemplates/getPreviewEmailLayout

Returns the full email as it would be sent, using your branding.

Your API key needs the emails.MANAGE permission.

Body Params

languagestringrequired
subjectstring
bodyContentHtmlstringrequired
channelstringrequired
topicstringrequired

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.