Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Query Parameters

locationId
string
required

The sub-account these contacts belong to. Your access to it is checked on every call. A sub-account with a CRM answers 400.

Body

application/json

The campaign, and who to put in it.

campaignId
string
required

The id of the campaign to start. It must be on this sub-account.

Example:

"cmp_7f0a1c"

contactIds
string[]
required

The contacts to put in the campaign, up to 1,000. A contact on do-not-call, with no phone, or not found is skipped.

{key}
any

Response

Accepted, with what was skipped and why.

success
boolean
required
data
object
required
{key}
any