Email Preview

Create Email Preview Test V2

This call creates a new email test and submits it to our system for processing.<br>All requests must contain a subject property and one source property (either html or url). All other properties are optional. In the following table, each property and its default value is shown. <br>If content-checking variables (such as those for link validation, image validation, or accessibility) are set in the body of the request, the endpoint will run content-checking on the email content. <br>The response will include an id property that should be used to request the results or trigger further processes on the email content.<br>For enterprise customers, the response will also include the customer_id and reference_id that were submitted with the test.

post/v2/preview/tests

Request

Request body

subjectstring required
htmlstring
mimestring
urlstring
transfer_encodingstring
charsetstring
reference_idstring
customer_idstring
clientsstring[]
image_blockingboolean
headersobject
user_idstring
folder_idstring
project_namestring

Response

A 200 response

idstring
reference_idstring
customer_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.