Skip to main content
POST
Uses Gately’s AI model (Kimi K2) to produce inline-styled, email-client-compatible HTML based on your campaign name, subject, and desired tone. The returned HTML can be passed directly to the Send Campaign endpoint.

Headers

string
required
Bearer YOUR_API_KEY
string
Your project UUID. Not required if the API key already encodes the project.

Request Body

string
required
Name of the campaign — used as the primary context for generation
string
Email subject line — provides additional context for the AI
string
default:"professional"
Writing tone: professional · friendly · casual · urgent

Response

string
Complete, inline-styled HTML email body ready to send