Retrieve and Recreate an Email Message in an HTML Page

Marketing Cloud has a new model for storing, finding, managing, creating, sharing, and distributing all content-related objects. Access the objects created with the new Content Builder tools using the REST API. Your existing SOAP API integrations only function with the Classic tools in Marketing Cloud.

This page contains information about retrieving the content and structure of an email message from a Marketing Cloud account and rendering that content within an HTML page.

Why Retrieve an Email Message and Recreate That Message in an HTML Page

You can use the HTML page to display the email message on a page outside of Marketing Cloud, depending on the needs of your users. Use this page to review the email message or show a preview for approval. Note that this page shows the email message before the send and processing occurs, so variables and AMPscript display as code and do not show any values.

How to Retrieve an Email Message and Recreate That Message in an HTML Page

Use the sample code below as a model for your own call.

Sample PHP Code

REST API