Skip to main content
GET
List campaigns

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Query Parameters

page_size
integer
default:100

How many items to return at most.

Required range: 1 <= x <= 500
status
enum<string>[] | null

Only campaigns in one of these statuses.

Available options:
active,
paused,
stopping,
stopped,
completed,
failed,
attention
agent_id
string | null

Only campaigns run by this agent.

channel
enum<string> | null

Only campaigns on this channel.

Available options:
phone,
whatsapp
mode
enum<string> | null

Only voice or only message campaigns.

Available options:
voice,
message
search
string | null

Only campaigns whose name contains this text, or whose ID is exactly this text.

Maximum string length: 256
cursor
string | null

Used for fetching next page. Cursor is returned in the response.

Response

Successful Response

campaigns
CampaignResponse · object[]
required
next_cursor
string | null
required
has_more
boolean
required