Update a static campaign by ID

Partial update of settings (name, recording, shield, AI processing) and optional routing. Does not change did.
For routing, send callTreatmentId or ringToNumber in one request—not both (400 from validation). Valid callTreatmentId values are returned by GET /sites/{id}/calltreatments for the campaign’s site (id = site id). ringToNumber updates the ring-to destination; switching from call treatment to ring-to clears treatment routing.
See StaticCampaignUpdateRequest and response StaticCampaign.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

Static campaign ID

Body Params

Partial update body for PUT /campaigns/static/{id}. At least one property is required. Does not change did. May update settings, AI processing, and default routing. For routing changes, send callTreatmentId or ringToNumber in a single request—not both (validation error). callTreatmentId must be one of the ids from GET /sites/{id}/calltreatments where path id is the campaign's siteId. ringToNumber updates the ring-to destination (and clears call treatment routing when switching from treatment to ring-to).

string

Campaign display name

boolean

Call shield on/off

boolean

Redaction on/off

boolean

Speech transcription on/off

boolean

Call recording on/off

string
enum

Recording disclaimer language (special = no standard disclaimer; stored as call_disclaimer 0)

Allowed:
boolean

AI / leadscore processing on/off

integer
≥ 1

Set active call treatment routing; must be an id from GET /sites/{id}/calltreatments for this campaign's site. Do not send in the same request as ringToNumber.

string

10-digit ring-to / destination number for default-target routing. Do not send in the same request as callTreatmentId.

emailActions
array of objects

Replace-all email actions ([] clears; ring-to routing only)

emailActions
webhookActions
array of objects

Replace-all webhook actions ([] clears; ring-to routing only)

webhookActions
Responses

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