Create or overwrite an email from HTML

The method allows creating an email in the user's project from ready-made HTML and CSS. If emailId is specified, the existing email of the project is overwritten with the given content. The email is editable in Stripo Editor in the same way as an email imported from HTML in the account. If the plan limit for emails is reached, the request will be rejected.

Body Params
string
required

HTML code of the email

string

CSS code of the email

string
required

The name of the email

int64

The ID of the folder where the email should be placed. If not specified, the email will be created in the root folder

int64

The ID of an existing email of the project to overwrite. If not specified, a new email is created

Headers
string

Authentication token

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json