Update Campaign

API Details

Changes only the fields sent in the body. voicemail, greeting and abandonedCall are replaced as a whole, so send them complete. The channel cannot be changed.

Rate Limit

Limit TypeValue
Requests per second10

If you exceed this limit, you will receive a 429 Rate Limit Exceeded response.

Path Params
string
required

Unique identifier (UUID) of the campaign.

Body Params

Request body for partially updating a campaign. Omitted fields are left unchanged.

string
length ≥ 1

Display name of the campaign.

string

Optional description of the campaign's purpose.

string
enum

Whether the campaign is ready to run or still a draft.

Allowed:
string
enum

How tasks for this campaign are created and worked.

Allowed:
boolean

Whether this campaign is allowed to contact recipients who have not opted in.

string | null

Name of the event that marks a contact reached by this campaign as converted.

string

Either the literal "dynamic" sentinel, an E.164 phone number, or an SMS short code (3 to 7 digits).

string
length ≥ 1

Internal nickname for this campaign.

string
length ≥ 1

Goal of this campaign, shown to agents.

string

Offer contacts are eligible for on this campaign.

uri

URL of the call script for agents to follow.

string
enum

Dialing mode for this campaign: preview or power dial, progressive, or predictive. Progressive/predictive may be gated by brand feature flags -- enforced at request time, not by this schema.

Allowed:
integer
≤ 2000000000

Global priority for tasks in this campaign; higher numbers are handled first.

string
enum

Whether task priority stays static or decreases with each follow-up call attempt (dynamic). May be gated by a brand feature flag -- enforced at request time.

Allowed:
voicemail
object

Voicemail handling for this phone-call campaign.

greeting
object

Required for progressive/predictive dialing campaigns -- enforced at request time.

abandonedCall
object

Required for progressive/predictive dialing campaigns -- enforced at request time.

uuid

Id of the queue tasks are routed to, as returned by the queue list. Required for progressive/predictive dialing campaigns -- enforced at request time.

number

Calls placed per available agent for progressive dialing. Gated by a brand feature flag and only applicable when dialingMode is "progressive" -- enforced at request time.

number

Max calls placed per available agent for predictive dialing, once abandon rate is within target. Only applicable when dialingMode is "predictive" -- enforced at request time.

number
0.1 to 10

Target abandon rate (%) for predictive dialing; the calls/agent ratio auto-adjusts to stay under it. Required when dialingMode is "predictive" -- enforced at request time.

string

Alternate outbound caller ID number. Requires the outboundani brand integration to be connected -- enforced at request time.

^five9:\w+$

Id of the queue to transfer to, as returned by the queue list, or the id of a Five9 queue (five9:).

number
0.01 to 100

Expected percentage of calls that transfer to the transfer queue. Required when a transfer queue is set -- enforced at request time.

string
length ≥ 1

Message content sent to contacts (or task description, for agent tasks).

string

MMS media attachment sent with this campaign's message. Either a plain URL or a Handlebars template (e.g. a URL with merge tags).

string
enum

Channel this campaign sends on. Immutable.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json