Skip to navigation

Get campaign

Get an outbound campaign and its lead counts.

Path parameters

campaign_idstringRequired

Headers

xi-api-keystringOptional

Response

Successful Response
campaign_idstring
call_namestring
The campaign's name.
agent_idstring
channel_configobject
statusenum

attention means an open attention item holds back some of the campaign’s calls while the rest go ahead. stopping means queued calls are cancelled and calls already placed are finishing.

policyobject
The policy the campaign took when it was created.
variantenum
Allowed values:
sourceenum or null
Whether the campaign was created in the app or through the API.
Allowed values:
outcomeobject or null
The result that counts as success for the campaign's calls.
created_at_unixinteger
scheduled_time_unixinteger or null

When the campaign starts calling; unset to start once created.

updated_at_unixinteger
branch_idstring or null
The agent branch the campaign calls with.
environmentstring or null
The environment the agent's environment variables resolve in.
target_concurrency_limitinteger or null
The most calls the campaign places at once.
channelenum
Allowed values:
modeenum
Allowed values:
countsobject
agent_namestringDefaults to

Errors

422
Unprocessable Entity Error