emails

Render email design to HTML.

Convert design JSON to HTML with optional merge tags.

post/emails/v1/render

Request body

designobject required

Proprietary design format JSON

mergeTagsobject

Optional merge tags for personalization

Example request

{
  "design": {
    "counters": {
      "u_row": 1,
      "u_column": 1,
      "u_content_text": 1
    },
    "body": {
      "rows": [
        {
          "cells": [
            1
          ],
          "columns": [
            {
              "contents": [
                {
                  "type": "text",
                  "values": {
                    "text": "Hello World"
                  }
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Response

Default Response

htmlstring

Rendered HTML content

Changes