Skip to navigation

List campaigns

List the workspace's outbound campaigns, newest first.

Headers

xi-api-keystringOptional

Query parameters

page_sizeintegerOptional1-500Defaults to 100
How many items to return at most.
statuslist of enums or nullOptional
Only campaigns in one of these statuses.
agent_idstring or nullOptional
Only campaigns run by this agent.
channelenum or nullOptional
Only campaigns on this channel.
Allowed values:
modeenum or nullOptional
Only voice or only message campaigns.
Allowed values:
searchstring or nullOptional<=256 characters
Only campaigns whose name contains this text, or whose ID is exactly this text.
cursorstring or nullOptional
Used for fetching next page. Cursor is returned in the response.

Response

Successful Response
campaignslist of objects
next_cursorstring or null
has_moreboolean

Errors

422
Unprocessable Entity Error