Skip to main content
POST
Generate email draft

Authorizations

Authorization
string
header
required

Personal Access Token created from Settings -> API Keys.

Body

application/json
campaignGoal
string
required
context
string | null
templateId
string | null
templateHtml
string | null
templateSubject
string | null
autoSelectTemplate
boolean
personalizationMode
enum<string>
default:off
Available options:
off,
lead_description_intro

Response

Generated draft

subject
string
html
string
generationMode
string