Create a batch calling campaign
create_call_campaignCreate a batch calling campaign
Creates an outbound campaign: a named list of up to 10000 numbers that one voice agent will call. The campaign is created in state draft and nothing is dialled until you submit it, so this call places no calls and incurs no call charges. The agent must belong to you, and so must callerPhoneNumberId if you set one; either being unknown or owned by someone else gives 404. Per-recipient metadata is handed to the agent as conversation context, which is how you personalise each call. This operation is guarded by the write:agents scope rather than a scope of its own.
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": {
"body": "<body>"
},
"name": "create_call_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The campaign name, the identifier of the voice agent that will place the calls (`agent_42`, as returned by GET /agents), and the recipient list. Optionally `scheduledTime`, an ISO 8601 timestamp for when calls should begin, and `callerPhoneNumberId`, the database id of the number to call from; without it the system default number is used. |