Bulk Add Leads to Campaign
Leads (v2)
Bulk Add Leads to Campaign
Queues multiple leads for asynchronous addition to the specified campaign.
Authentication
All requests require an Authorization header using Bearer token authentication:
Authorization: Bearer <api_key>
POST
Bulk Add Leads to Campaign
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Identifier of the campaign. Required.
Example:
"camp_abc123"
Body
application/json
Array of lead objects to add
Lead phone number in E.164 format. Required.
Example:
"+14155552671"
Lead first name. Optional.
Example:
"Jane"
Lead last name. Optional.
Example:
"Doe"
Lead email address. Optional.
Example:
"jane.doe@example.com"
Additional key-value pairs for call script personalisation. Optional.
Example:
{
"company": "Acme Corp",
"plan": "enterprise"
}Example:
[
{
"phone_number": "+14155552671",
"first_name": "Jane",
"last_name": "Doe"
},
{
"phone_number": "+14155559999",
"first_name": "John",
"last_name": "Smith"
}
]
