Skip to main content
POST
Create a website test

Authorizations

Authorization
string
header
required

Organization-scoped RevDesk API key. Each operation declares its required permissions in x-required-scopes.

Headers

Idempotency-Key
string

UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.

Body

application/json
name
string
required
Required string length: 1 - 120
page_url
string
required
Required string length: 1 - 2048
variants
object[]
required
Required array length: 1 - 5 elements
property_id
string
Minimum string length: 1
url_match_type
enum<string>
Available options:
exact,
prefix,
regex
goal
object
goal_id
string
Minimum string length: 1
hypothesis
string
Maximum string length: 400
traffic_split
number
Required range: 0.05 <= x <= 1
start
boolean

Response

Success

data
object
required