campaigns
Add contacts to a campaign's call queue
Adds one or more phone numbers (contacts) to a campaign's call queue. Each number can include associated metadata via the json_csv_infos field (firstname, lastname, company, and custom fields in social_data). All numbers' social_data arrays must have the same set of custom field keys. If a number is already in the queue, it is reported in the response but not duplicated. Returns 304 if all numbers were already present.
Permission: No specific permission required. A valid API key is sufficient.
post/campaigns/call/{campaignscalllistuuid}/numbers
Path parameters
campaignscalllistuuidstring uuid required
The UUID of the campaign (e.g., 1a7a5639-3818-4b0e-9285-f6b3795f8db4). Use GET /campaigns/call to discover campaign UUIDs.
Request body
Example request
{
"to_numbers": [
{
"to_number": 33612345678,
"json_csv_infos": "{\"company\": \"Ringover\", \"firstname\": \"John\", \"lastname\": \"Doe\", \"social_data\": [{\"country\": \"FR\"}, {\"city\": \"Paris\"}]}"
}
]
}Response
Successful operation