Create email_design content from HTML or ZIP file

Create email_design content from HTML or ZIP file and return the UUID of the created content.

ZIP File Structure: When uploading a ZIP file, it must follow this structure:

design.zip
├── index.html or mail.html         (required - main HTML file)
└── images/             (optional - image assets folder)
    ├── logo.png
    ├── banner.jpg
    └── icon.gif

Supported image formats: PNG, JPG, JPEG, AVIF, GIF, JFIF, WEBP, WOFF

Requirements:

  • ZIP file must contain index.html at the root level
  • All images should be placed in the images/ folder or directly on the root level ./
  • Image references in HTML should use relative paths: images/filename.ext
Body Params
file
required

HTML or ZIP file

string
required

Content name

string
enum
required

Content language

string
required

Email sender name

string
required

Email subject

string
required

Email sender email

string

Email reply address

string
enum
required

File type: html or zip

Allowed:
string
enum

Optional flag to disable UTM tracking. Set to the string "true" to disable.

Allowed:
Responses

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json