emails

Send email with design or HTML.

Send email with design JSON or HTML content.

post/emails/v1/send

Query parameters

projectIdstring

The project ID (required for PAT auth, not needed for API Key auth)

Request body

designobject required

Proprietary design format JSON

htmlstring

HTML content to send

tostring email required

Recipient email address

subjectstring

Email subject line

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

messageIdstring

Unique message identifier

status'sent' | 'queued' | 'failed'

Changes