Campaigns

End an audience A/B test

Ends the audience's test in the draft and keeps the chosen version. For the Original page test, deploy shows the kept version to everyone. Takes effect after you publish.

Requires an API token with the write ability. Tokens created without abilities have *, which grants every ability.

post/{teamPid}/campaigns/{campaign}/audiences/{audience}/test/end

Request

  • Base URL
    https://api.rightmessage.com/v1
  • Auth
    HTTP bearer

Path parameters

teamPidstring required

Project ID: the public pid that appears in dashboard URLs (app.rightmessage.com/{teamPid}/…).

campaignstring required

Campaign ID.

audiencestring required

Audience ID, or original for the campaign's Original page test.

Request body

keep_version'A' | 'B' | 'C' | 'D' required
deployboolean

Response

campaignobject nullable required
requires_publishboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.