Upload your HTML template to created campaign [Rate limited]

You can use your custom HTML template and associate it with created campaign using this endpoint.

HTML template

HTML template must contain head and body tags, a link for unsubscribing is also required.

Example of HTML template with unsubscribe link:

        <title>Email template</title>
                <a href="{$unsubscribe}">Unsubscribe</a>

Plain text mail

Some email clients do not support HTML emails so you need to set plain text email and it must contain these variables:

  • {$unsubscribe} - unsubscribe link
  • {$url} - URL to your HTML newsletter
Click Try It! to start a request and see the response here!