Sequences
Generate sequence email variations
Changed onStarts designing 1 to 4 variations of one email of a sequence with AI, like "I like email 1, make a few variations" in the sequence editor's Emails view, and returns them at once with status generating. The source is the email's saved content. Generation runs in the background, usually under a minute; poll List Sequence Email Variations until each is ready or failed. The email does not change until you use one. An email can have up to 8 variations generating at once.
post/sequences/{sequenceId}/emails/{emailId}/variations/generate
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/sequences/{sequenceId}/emails/{emailId}/variations/generate
- AuthHTTP bearer
Path parameters
sequenceIdstring required
Sequence ID
emailIdstring required
The email's ID, the emailId of its step from Get Sequence
Request body
Example request
{
"prompt": "A few bolder versions"
}Response
Generation started
Example response
{
"success": true,
"email": {
"label": "Email 1"
},
"variations": [
{
"label": "V2.1",
"name": "Warm and personal",
"blocks": [
{
"id": "block_123",
"type": "html",
"content": "<h1>Hello</h1>",
"styles": {
"backgroundColor": "#f8fafc",
"backgroundOpacity": 80,
"textColor": "#111827",
"borderRadius": 12,
"borderColor": "#cbd5e1",
"borderWidth": 1
},
"conditions": [
{
"id": "c1",
"value": "plan:pro"
}
]
}
]
}
]
}Changes
- info
added the optional property
/////to the response with the status
- info
- info
endpoint added
- info