POST /v1/calls/batch
Creates a batch campaign: queues many outbound calls under one campaign ID. Useful for appointment reminders, lead qualification, surveys.Documentation Index
Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Type | Required | Notes |
|---|---|---|---|
agent_id | string | Yes | Agent used for all calls in this batch |
from_number | string | Yes | Your Twilio number to dial from |
name | string | Yes | Display name for the campaign |
recipients | array | Yes | Up to 10,000 recipients |
schedule_type | enum | Yes | now (launch immediately) or schedule |
scheduled_at | ISO date | If schedule | When to launch |
max_concurrent | int | No | Cap concurrent calls (default: account limit) |
metadata | object | No | Echoed in every call’s webhook |
dynamic_vars override batch-level defaults if set.
201 Created:
schedule_type is now, the campaign launches immediately and the response includes status: running. When scheduled, returns status: scheduled.
call_idended_reason: error but don’t stop the campaign| Code | Cause |
|---|---|
agent_not_owned | Agent doesn’t belong to your account |
from_number_not_owned | Number not imported to your account |
too_many_recipients | More than 10,000 recipients |
invalid_schedule | schedule_type: schedule without valid scheduled_at |
schedule_type: schedule, you can launch it manually with Launch batch.