Templates

Create a new template

Create a new email template from raw HTML or from an MJML definition. Send exactly one of html and mjml. A template created from an MJML definition is compiled to HTML by Ecomail and stays editable in the drag-and-drop editor.

post/templates

Request body

namestring required

Template name.

htmlstring

Template HTML content. Required when mjml is not sent. Do not combine with mjml.

Response

OK

idinteger
namestring
htmlstring

Changes

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