Dev
09/15/2025, 1:16 PMDev
09/15/2025, 1:16 PMVapi Support Bot
09/15/2025, 1:17 PMpython
import csv, requests
with open('customers.csv') as f:
customers = [{"number": row["number"]} for row in csv.DictReader(f)]
payload = {
"assistantId": "your-assistant-id",
"phoneNumberId": "your-phone-number-id",
"customers": customers
}
requests.post("https://api.vapi.ai/call", json=payload, headers={"Authorization": "Bearer YOUR_TOKEN"})
This lets you run batch campaigns programmatically, matching the dashboard's functionality.
[See docs for batch calling](https://docs.vapi.ai/calls/outbound-calling#batch-calling)
Source:
- [Outbound Calling Documentation](https://docs.vapi.ai/calls/outbound-calling)Vapi Support Bot
09/15/2025, 1:17 PMDev
09/15/2025, 1:31 PMDev
09/15/2025, 1:34 PMDev
09/15/2025, 1:34 PMDev
09/15/2025, 1:36 PMDev
09/15/2025, 2:27 PMDev
09/15/2025, 2:27 PMTay
09/15/2025, 10:42 PMDev
09/16/2025, 8:43 AMChiranjeet Mishra
09/17/2025, 2:24 PMDev
09/18/2025, 6:00 AMChiranjeet Mishra
09/20/2025, 4:55 AMNumber column is required and name is optional. Attached is a file sample
https://cdn.discordapp.com/attachments/1417136903676755969/1418822741385023541/batch-sample.csv?ex=68cf8525&is=68ce33a5&hm=2b32c353e776afcca5ebe7aed8f2b36b5933d4396ff01c6f858e0da98e646153&Dev
09/22/2025, 8:12 AMChiranjeet Mishra
09/24/2025, 9:48 AMDev
09/24/2025, 10:29 AMChiranjeet Mishra
09/26/2025, 7:15 AM