Sequences

Keep a path of an A/B test

Ends the A/B test by hand: every new lead gets the path from now on, and once nobody is left on another path the sequence keeps only its steps. Keeping the path already kept changes nothing; keeping another one once the test is decided answers 409.

POST
/campaigns/{id}/sequence/ab-tests/{test_id}/winner

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

Campaign id.

test_idstringrequired

Bavlio's id of the A/B test.

Body

application/json
pathenum<string>required

The path every new lead gets from now on.

Available options: a, b, c, d

Response

application/json

Success

campaign_idstringrequired
versionintegerrequired

Version number; each save adds one.

stepsobject[]required

The steps, in the order they run.

statsobjectrequired

Per step id: leads that reached the step (reached) and those who accepted, replied or booked a meeting at it (converted).

warningsobject[]required

Template problems that did not stop the save, such as a custom field no upload to the campaign has; empty when there are none.

ab_testsobject[]required

Every A/B test in the steps, then the finished ones the steps no longer hold.

ab_test_numbersobjectrequired

The rates and pace A/B test plans are made from.

created_atstringrequired

When the version was saved (ISO 8601).