v93

OpenAPI 3.1.0raw.githubusercontent.com2026-08-01218121759.7 KB
Generation

Generate subject lines

Generates draft subject line variants for a campaign or sequence email.

post/generate/subjects

Request body

topicstring required

Topic, campaign idea, or context for the subject lines.

countnumber

Number of variants to generate. Defaults to 5.

Example request

{
  "topic": "April product launch",
  "count": 5
}

Response

Subject lines generated successfully

successboolean
topicstring
subjectsstring[]

Example response

{
  "success": true,
  "topic": "April product launch",
  "subjects": [
    "Meet what we shipped in April",
    "Your April product update is here"
  ]
}