v1

latestOpenAPI 3.0.02026-07-2664192238.8 KB
Campaigns

Select A/B test winner

Manually pick a variant as the winner. The chosen variant is routed into the send pipeline immediately.

Scopes: campaigns.write

post/campaigns/{id}/ab-test/winner

Path parameters

idstring required

Campaign ID (24 character hexadecimal)

Headers

Omnisend-Versionstring required

API version that specifies the response format and behaviour

Request body

variantIDstring required

ID of the variant to promote as the winner

Example request

{
  "variantID": "000000000000000000000001"
}

Response

Winner selected