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