Get Campaign V2
Authentication
Path parameters
Query parameters
When true, the response includes contactCounters and callMetrics.
These are aggregate queries over the campaign’s contacts and events, so
they are opt-in rather than paid for on every read. Defaults to false.
Response
This is the ISO 8601 date-time string of when the campaign was created.
This is the ISO 8601 date-time string of when the campaign was last updated.
This is the assistant ID that will be used for the campaign calls. Note: Only one of assistantId, workflowId, or squadId can be used.
This is the squad ID that will be used for the campaign calls. Note: Only one of assistantId, workflowId, or squadId can be used.
This is the phone number ID that will be used for the campaign calls. Required if dialPlan is not provided. Note: phoneNumberId and dialPlan are mutually exclusive.
This is the schedule plan for the campaign. Calls will start at startedAt and continue until your organization’s concurrency limit is reached. Any remaining calls will be retried for up to one hour as capacity becomes available. After that hour or after latestAt, whichever comes first, any calls that couldn’t be placed won’t be retried.
These are the overrides for the assistant’s settings and template variables for the campaign. Use this when the campaign targets an assistantId.
These are the overrides for the squad and template variables for the campaign. Use this when the campaign targets a squadId. Per-contact squadOverrides are deep-merged on top of this at dispatch time.
This is the server (URL, auth headers, timeout, etc.) for the campaign webhooks.
This opts the campaign into the blocking campaign.predial eligibility webhook. When set, every contact triggers a campaign.predial POST to the Server URL before dialing, and the response { eligible: boolean } decides whether the call is placed. Requires server. When unset, no pre-dial webhook is sent.
These are the per-status contact counts for this campaign. Sum them for the
campaign’s total audience; pending plus dispatched is what is left to
complete.
These are the call-level outcomes for this campaign — how many contacts were actually dialed, and how many of those a human picked up.