Overview
The A/B Test Campaigns API lets you split a contact list into test groups, send different email variants to each group, and automatically deliver the winning version — determined by open rate or click rate — to the remaining contacts after the test period. Endpoint:POST /v5/campaign/mail/sends_abtest
You can define up to 4 additional test versions (5 total including the main version). Each version can vary its subject line, content, or both.
Request Parameters
The verified sender email address. Must be an address already verified in your EffiLink account.
Scheduled send time in ISO 8601 UTC format (e.g.,
2025-06-01T10:00:00Z). Must not be more than 30 days in the future. Omit to send immediately.An array of target contact list names. The combined total of contacts across all lists must be at least 10.
An array of exclusion contact list names. Recipients on these lists will be excluded from the send.
An array of test variant objects, defining 1 to 4 additional versions beyond the main version (5 total maximum). At least one version must be provided.
Each version must have at least one of
subject or content set. A version with both fields empty is invalid.The duration of the A/B test in hours, after which the winning version is determined and sent to remaining contacts. Accepted range: 1–100.
The percentage of the total contact list assigned to each individual test version. All test versions share the same percentage value, and the total allocation (
percent × number of versions) must not exceed 100%. The remaining contacts receive the winning version after the test period.For example, with 2 versions (main + 1 variant) at percent: 20, each version reaches 20% of the list (40% total). The winning version is then sent to the remaining 60%.Response
Error Codes
How A/B Testing Works
- Divide — EffiLink splits your contact list into test groups. Each version (including the main) receives
percent% of the total list. - Test — All versions are sent simultaneously at
sendDate. The test runs fortimeLimithours. - Winner — After the test period, the version with the best
abTestTypemetric (open rate or click rate) is declared the winner. - Deliver — The winning version is sent automatically to all remaining contacts who did not receive a test version.
Example Request
- Main version (
subject: "Check out our latest products") → sent to 20% of the list. - Variant A (
subject: "New arrivals you'll love this June") → sent to another 20%. - After 24 hours, the version with the higher open rate is sent to the remaining 60%.

