Create a new static campaign

Provisions a single DID from inventory (or internal pool when configured) and creates a static campaign. Requires the site to have a domain.
Provide ringToNumber or callTreatmentId for default routing—not both; valid treatment ids come from GET /sites/{id}/calltreatments (use the site id as id).
Optional call settings on create: callShieldEnabled, callRecordingEnabled, callRecordingDisclaimerLanguage.
Optional features on create: redactionEnabled, speechTranscriptionEnabled, aiProcessingEnabled.
See StaticCampaignCreationRequest.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Body for POST /campaigns/static. Provisions one DID from inventory using npaNxx and didMatchingMethod, then creates the campaign. The site must already have a domain configured. Provide either ringToNumber (new default endpoint) or callTreatmentId (existing call treatment / target id from GET /sites/{id}/calltreatments) as the campaign default routing target—not both. callTreatmentId must be one of the ids returned for that site. Optional call settings: callShieldEnabled, callRecordingEnabled, callRecordingDisclaimerLanguage (special, en, es, fr). Optional features: redactionEnabled, speechTranscriptionEnabled, aiProcessingEnabled.

integer
required

Site ID (must have a domain); may be less than zero

string
required

Campaign display name

string

10-digit ring-to / destination number. Required unless callTreatmentId is provided. Creates a new default target when set.

integer
≥ 1

Existing call treatment id. Required unless ringToNumber is provided. Ids are returned by GET /sites/{id}/calltreatments for that site.

string
required
^\d{3,6}$

NPA-NXX (3–6 digits). Toll-free: NPA only; local: full NPA-NXX.

string
enum
required

Inventory matching method (same values as DNI pool provisioning)

Allowed:
boolean

Enable call shield at creation

boolean

Enable call recording at creation

string
enum

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

Allowed:
boolean

Enable redaction

boolean

Enable speech transcription

boolean

Enable AI / leadscore processing when applicable

emailActions
array of objects

Optional email actions (actionId from GET /sites/{id}/emails; ring-to routing only)

emailActions
webhookActions
array of objects

Optional webhook actions (actionId from GET /sites/{id}/webhooks; 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