Form A/B Setups

Select a form A/B setup winner

Select a winning variant for a form A/B setup by its version form ID. A winner can only be selected for an enabled (started) setup; selecting one concludes the test in favor of the chosen variant.

Scopes: forms.write

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

post/form-ab-setups/{abSetupID}/winner

Request

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

Path parameters

abSetupIDstring required

Form A/B setup ID

Headers

Omnisend-Versionstring required

API version that specifies the response format and behaviour

Request body

versionFormIDstring required

Winner version form ID.

Example request

{
  "versionFormID": "683b1a2e3f4a5b6c7d8e9f01"
}

Response

Form A/B setup winner selected

Changes

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