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.

Minimum string length: 1

Query Parameters

locationId
string

Pair with campaignId; omit both for primary campaign.

Minimum string length: 1
campaignId
string

Pair with locationId; omit both for primary campaign.

Minimum string length: 1

Body

application/json
targetLocationId
string
required
Example:

"loc_child_456"

{key}
any

Response

Child campaign created on the target project.

success
boolean
required
campaign
object
required

The child campaign as stored on the target project, including its master sync and binding-scan fields.