Create experiment
Experiments
Create Experiment
Create a new experiment. Requires at least 2 variants with weights summing to exactly 10000.
Slug must be unique among active experiments, 3-60 characters, lowercase alphanumeric and hyphens. Reserved slugs: events, api, admin, health, status, pixel, track, sdk.
POST
Create experiment
Authorizations
API key obtained from the Pictify dashboard
Body
application/json
Experiment name
Maximum string length:
255Example:
"Homepage Hero A/B Test"
Experiment type
Available options:
ab_test, smart_link, scheduled URL-friendly identifier (3-60 chars)
Pattern:
^[a-z0-9][a-z0-9-]{1,58}[a-z0-9]$Example:
"homepage-hero-test"
Variants with weights summing to 10000
Minimum array length:
2Default template UID (optional if each variant has its own)
Example:
"tmpl_xyz789"
Maximum string length:
500Response
Experiment created