Skip to main content
POST
Resolve a sticky A/B variant assignment

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Identifier of the agent running the experiment.

Body

application/json
contact_id
string
required

Identifier of the contact to assign a variant to.

conversation_id
string

Optional conversation this assignment belongs to.

dry_run
boolean
default:false

When true, return the would-be variant without persisting.

Response

200 - application/json

The resolved variant, or has_experiment=false when no experiment is active.

data
object
meta
object