Skip to main content
Creates a campaign. It does not dial until you start it, unless startImmediately is true.

Body

number
required
Agent ID used for every call.
array
People to call. Up to 2,000. Send this or csvText.
string
The list as CSV text. Use this when your agent needs other variables, like brand_name.
string
default:"phone_number"
CSV column with the phone numbers.
string[]
CSV columns the agent can read. Names must match the agent’s variables.
string
Campaign name in the dashboard.
number
default:"1"
Calls at the same time. Above your account limit returns 400.
boolean
default:"false"
Start dialing as soon as it is created.

Response

number
Save this. Use it to start, pause and resume.
number
Contacts accepted. Rows missing an agent variable are skipped, so compare this with your list.
string
not_started, or running if startImmediately was true.