cURL
Update campaign
Update the campaign owned by this agent.
Required API key scope: campaigns:write.
PATCH
cURL
Authorizations
Send your API key as Authorization: Bearer YOUR_API_KEY.
Path Parameters
Agent id.
Minimum string length:
1Query Parameters
Pair with campaignId; omit both for primary campaign.
Minimum string length:
1Pair with locationId; omit both for primary campaign.
Minimum string length:
1Body
application/json
Minimum string length:
1Example:
"Speed to Lead"
Switch the campaign live. Defaults to paused.
Example:
true
Example:
"Call new leads as soon as they enter the intake flow."
Example:
Example:
Example:
false
Example:
"agent_2b7c9f4a"
Dispatch mode.
Available options:
s2l, pd, s2l_pd Example:
"s2l_pd"
- object
- object[]
Example:
true
Example:
false
Example:
true
Example:
