Sequences
List sequence email variations
Changed onLists the design variations of one email of a sequence, oldest first, with status (generating, ready, failed) and inUse (the email has exactly this content). Discarded variations are not listed. Poll this after Generate Sequence Email Variations until none is generating.
get/sequences/{sequenceId}/emails/{emailId}/variations
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/sequences/{sequenceId}/emails/{emailId}/variations
- AuthHTTP bearer
Path parameters
sequenceIdstring required
Sequence ID
emailIdstring required
The email's ID, the emailId of its step from Get Sequence
Response
The email's variations
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