Skip to content

Add Autoresponder Split Test Variant

Tool name: add-autoresponder-split-test-variant

Adds a variant to the split test of an email or SMS follow-up that is not active, empty or copied from copyFromMessageId. Audience shares are redistributed evenly. Refused after the test starts; sends nothing.

Input schema

autoresponderIdinteger, >= 1required

ID of a follow-up created as a split test

copyFromMessageIdnull or integer, >= 1

messageId of the variant to copy; omit for an empty variant

Default:null
accountIdnull or integer, >= 1

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

Default:null
Input example
{ "autoresponderId": 1, "copyFromMessageId": null, "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" } } ] }