Add voice campaign contacts
add_voice_campaign_contactsAdd contacts to a voice campaign that is still a DRAFT (not scheduled, running or archived; an outbound AI campaign). A scheduled campaign launches on the consent given for the list it has, so clone it and add them to the clone: contact_rows (phone, name, variables, fallback group and order) or contact_ids, one of them, at most 2000 at a time. A phone the campaign already holds is skipped. Bad phones refuse the whole call. Do-not-call numbers and duplicates are flagged afterwards in validation_summary. The answer says how many were inserted and the campaign's total. It places no call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "add_voice_campaign_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign id as returned by list_voice_campaigns. | |
| contact_ids | No | Ids of this account's contacts (their phone number is the one called), at most 2000. | |
| contact_rows | No | The people to call, at most 2000. Their phone numbers stay in this account; send each person once. |