Email Campaigns
AI Generate Content
Generate a complete HTML email body using Gately’s built-in AI
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
Bearer YOUR_API_KEYYour project UUID. Not required if the API key already encodes the project.
Request Body
Name of the campaign — used as the primary context for generation
Email subject line — provides additional context for the AI
Writing tone:
professional · friendly · casual · urgentResponse
Complete, inline-styled HTML email body ready to send