Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Path Parameters

id
string
required

Agent id of the Primary Variant. Every split operation is addressed through the primary, not through a secondary variant.

Minimum string length: 1

Body

application/json

Optional clone source.

Body is optional. Send it only to clone from something other than the campaign's own agent.

sourceAgentId
string

Agent to copy the second variant from. Defaults to the campaign's bound agent.

Minimum string length: 1
Example:

"agent_1ffdb9717444d0e77346838911"

{key}
any

Response

The split that was created.

success
boolean
required
splitTest
object
required