Skip to main content
POST
Create an A/B test

Authorizations

Authorization
string
header
required

Paste your VTurb API token (vt_...). Sent as Authorization: Bearer <token>.

Body

application/json
name
string
required
variants
object[]
required
folder_id
string

Response

The created A/B test, as a draft: it splits no traffic until it is started. A test carries 2 to 10 variants, whose traffic_percentage must sum to 100. folder_id and each variant's locked are optional; an omitted folder leaves the test at the root.

id
string
required
status
string
required
name
string
required
folder_id
string | null
required
started_at
string | null
required
created_at
string
required
updated_at
string
required
variants
object[]
required