Campaigns
List variations
Changed onLists the campaign email's variations, oldest first. Variations are alternative versions of the email that you compare side by side on the editor canvas; the campaign keeps sending its email until you use one. Discarded variations are not listed. Each variation's parentId points at the nearest variation it descends from that has not been discarded. Email campaigns only.
get/campaigns/{campaignId}/variations
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/campaigns/{campaignId}/variations
- AuthHTTP bearer
Path parameters
campaignIdstring required
Campaign ID
Response
Variations
Example response
{
"success": true,
"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