Create batch campaign
Full URL: POST https://api.kupe.in/api/v1/batch-call/create
Creates a call_batches row: links an agent or workflow, your caller phone line (caller_phone_id),
template variable_names, and batch_size (concurrent dials per wave).
Authentication: x-api-key or Bearer. Owner is inferred from auth unless you pass a matching user_id.
Next steps: upload targets (POST .../upload-json/{batch_id} or CSV upload), then POST .../start/{batch_id}.
Authorizations
Kupe dashboard API key for your user.
Body
Create an outbound batch campaign. Send exactly one of agent_id or workflow_id. caller_phone_id is the phone_numbers.id row used as the outbound line (GET /api/v1/phone). user_id is optional — defaults to the API key owner or Bearer session user.
Outbound caller line (phone_numbers.id).
"November follow-ups"
not_started, in_progress, completed Template variable names substituted in the agent system prompt ({{name}}, etc.).
["name", "company_name"]Max concurrent dials per wave while the campaign runs.
x >= 1