v24

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-014382230.2 KB

Select winning A/B test variation

Manually selects the winning variation for an A/B test broadcast. The winning variation will be sent to the remaining audience. This endpoint is restricted in demo mode.

post/api/broadcasts.selectWinner

Request body

workspace_idstring required

The ID of the workspace

idstring required

ID of the broadcast

template_idstring required

Template ID of the winning variation

Example request

{
  "workspace_id": "ws_1234567890",
  "id": "broadcast_12345",
  "template_id": "template_variant_a"
}

Response

Winner selected successfully

successboolean

Example response

{
  "success": true
}