Preview
The Preview endpoint returns the contents of a Campaign, complete with personalization values. If the Campaign uses dynamic content, the platform will evaluate the personalization values you provide, and return the appropriate dynamic content variant in the response message.
For more details on how to set up a Preview API request, please see the Preview API Technical Guide.
-
Endpoint (North America): https://api.eccmp.com/services2/api/Preview
-
Endpoint (Europe): https://api.ccmp.eu/services2/api/Preview
-
Endpoint (Japan): https://api.marketingsuite.jp/services2/api/Preview
POST Methods
The Preview endpoint supports the following POST operations.
This endpoint allows you to retrieve the contents of a Campaign by providing the following basic information:
-
The Campaign's Object Reference ID (if the Campaign has launched, you can optionally provide the Running Campaign ID instead).
-
Personalization values sent has key / value pairs; for the personalization field name, you must provide the Column Name.
-
The desired format version (HTML, plain text, etc.)
Click here to see a sample request message in JSON format.