Skip to main content
POST
/
api
/
v1
/
generate
/
subjects
Generate Subject Lines
curl --request POST \
  --url https://api.sequenzy.com/api/v1/generate/subjects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "topic": "<string>",
  "count": 123
}
'
{
  "success": true,
  "topic": "April product launch",
  "subjects": [
    "Meet what we shipped in April",
    "Your April product update is here"
  ]
}

Generate Subject Lines

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

Request

topic
string
required
Topic, campaign idea, or context for the subject lines.
count
number
Number of variants to generate. Defaults to 5.
curl -X POST "https://api.sequenzy.com/api/v1/generate/subjects" \
  -H "Authorization: Bearer seq_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "topic": "April product launch",
    "count": 5
  }'

Responses

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