Enroll contacts into a campaign
enroll_campaign_contactsAdd contacts to a scheduled, running or paused campaign (at most 10,000 per call): they join the campaign's own contact list and its queue in one step and are called inside their calling hours. Idempotent: a contact already in the queue is not added again. Refused when the campaign is a draft, completed or cancelled, or when the audience with these contacts would need review (for example a new destination country).
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>",
"contacts": "<contacts>"
},
"name": "enroll_campaign_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contacts | Yes | ||
| campaign_id | Yes | ||
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. |