cURL
curl --request POST \ --url https://{notifuseDomain}/api/broadcasts.selectWinner \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspace_id": "ws_1234567890", "id": "broadcast_12345", "template_id": "template_variant_a" } '
{ "success": true }
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.
API token for authentication
The ID of the workspace
"ws_1234567890"
ID of the broadcast
"broadcast_12345"
Template ID of the winning variation
"template_variant_a"
Winner selected successfully
true