Copernica's API for responsive HTML emails

The internal API of Copernica to turn JSON into responsive email messages is accessible for you too!

  • Drag-and-drop editor
  • REST API

Fancy drag-and-drop editor

The ResponsiveEmail API turns JSON data into fully responsive email messages optimized for every device. All you have to do is feed this JSON to the API and you'll get a responsive message back.

Besides the API, which is a tool for programmers, you can also use our easy-to-use drag-and-drop editor. This drag-and-drop editor is embedded in our Copernica and SMTPeter dashboards.

JSON to HTML

The API accepts JSON object as input, and delivers HTML code optimized for email. Inside the JSON document you can specify literally everything: sender and recipient(s), subject line, the text and HTML version of the email, attachments and much more. Every property you can set is well documented and can be found in the JSON documentation.

To access the ResponsiveEmail.com API you need an API access token. This is the same token that you use for SMTPeter.com. To get a token, you therefore first have to get an account at SMTPeter.

Go to the JSON documentation

Example code

{
    "name": "My template",
    "from":"example@responsiveemail.com",
    "subject": "Example email",
    "text": "Text version",
    "background": {
        "color": "white"
    },
    "content": {
        "blocks": [{
            "type": "html",
            "content": "<p>Example content</p>"
        }]
    }
}

Try it yourself!

To give you an idea of how it works, just fiddle with the following JSON and preview your changes as either a rendered preview of the email, prettified, raw or MIME.

JSON

Preview

  • Rendered
  • Prettified
  • Raw HTML
  • MIME
  • desktop
  • mobile
raw
pretty
mime
test

Example responsive email Templates

View, edit or download beautiful templates that we have already created for you.

Conference
Newsletter
Webshop
Travel
Simple

Why ResponsiveEmail API?

ResponsiveEmail is here to help and save you time, money and headaches.

Responsive Email

Responsive emails

The API accepts JSON objects as input, and turns these objects into responsive emails.

Responsive Email

Easy to integrate

Works with any programming language, as long as it produces valid JSON objects and sends it to the API.

Responsive Email

Support for popular email clients

Emails generated with the API render perfectly on popular email clients such as Outlook, Gmail and more.

Copernica products that include ResponsiveEmail

ResponsiveEmail.com is not a standalone product, but is embedded in all Copernica's other products. Whether you use MailerQ, Copernica or SMTPeter: all these solutions come with the JSON to MIME conversion toolkit.

MailerQ is the most powerful MTA in the world. If you want to run your own mail server you need this MTA.

Go to MailerQ.com

SMTPeter is a cloud-based email gateway. This gateway understands JSON too, and can turn it into responsive emails.

Go to SMTPeter.com

Copernica is the most powerful, flexible and configurable marketing suite you can find, built for marketers and merchants.

Go to Copernica.com