Create an email

This method expects to receive a JSON object describing an email’s content and metadata and, in exchange, returns an email_guid required to capture previews of it.

We intend these objects to be treated as lightweight. Once uploaded, emails can't be modified. Obtain a new email_guid each time changes need to be reflected.

The uploaded email has a limited lifespan. As a result, a new email_guid should be obtained before requesting new previews if more than a day has passed since the last upload.

At least one of html_text, plain_text, raw_source must be provided.

Errors
400 Bad Request
401 Unauthorized
JSON response body attributesDescription
email_guidA unique identifier for the uploaded email required to requests captures.
end_user_idoptional

Confirmation if an end_user_id was provided in the request.
configurationsoptional

Confirmation if configurations was provided in the request.
Language
Credentials
Basic
base64
: