Skip to content

Configure Autoresponder Split Test

Tool name: configure-autoresponder-split-test

Configures the split test of an email or SMS follow-up that is not active: audience share, duration and winner criterion. Omitted settings stay unchanged. SMS cannot use opens; conversions and revenue require a conversion pixel. Refused after the test starts; activates nothing.

Input schema

autoresponderIdinteger, >= 1required

ID of a follow-up created as a split test

testSizePercentnull or integer, [ 2 .. 98 ]

Share of the audience the variants go to, 2 to 98; omit to keep

Default:null
testDurationHoursnull or integer, [ 1 .. 27777 ]

Measuring period before the winner is chosen, 1 to 27777 hours; omit to keep

Default:null
winnerBynull or string

"opens" (email only), "clicks", "conversions" or "revenue" (both need the conversion pixel); omit to keep

Default:null
Enum:"opens""clicks""conversions""revenue"
accountIdnull or integer, >= 1

User ID of the account; omit for the account of the access token

Default:null
Input example
{ "autoresponderId": 1, "testSizePercent": null, "testDurationHours": null, "winnerBy": "opens", "accountId": null }

Output schema

accountIdintegerrequired
campaignIdintegerrequired
channelstringrequired
Enum:"email""sms"
testSizePercentintegerrequired
testDurationHoursintegerrequired
winnerBystring or nullrequired
Enum:"opens""clicks""conversions""revenue"null
hasStartedbooleanrequired
needsMoreVariantsbooleanrequired
variantsArray of objectsrequired
Output example
{ "accountId": 0, "campaignId": 0, "channel": "email", "testSizePercent": 0, "testDurationHours": 0, "winnerBy": "opens", "hasStarted": true, "needsMoreVariants": true, "variants": [ { "messageId": 0, "label": "string", "name": "string", "email": { "emailId": 0, "subject": "string", "preheader": "string", "reportSpamHeader": true, "editorUrl": "string", "contentUrl": "string" }, "sms": { "smsId": 0, "text": "string", "senderName": "string", "provider": "string", "linkTracking": true, "contentUrl": "string" } } ] }