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

Rate Limiting: This endpoint is rate limited to 400 requests per minute.

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

Request

  • Base URL
    https://api.omnisend.com/api
  • URL
    https://api.omnisend.com/api/campaigns/{id}/ab-test/winner
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://app.omnisend.com/oauth2/token scopes: campaigns.write
    • or API key in header Authorization

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

Changes

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