cURL
curl --request POST \ --url https://api.bolna.ai/batches \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: text/csv' \ --data ' { "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "file": "<string>", "from_phone_number": "+19876543007" } '
{ "batch_id": "3c90c3cc0d444b5088888dd25736052a", "state": "created" }
Discover how to create a batch for Bolna Voice AI agent by uploading a CSV file containing user contact numbers and prompt variable details for users.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the agent
CSV file to upload
Phone number from which the batch will be called alongwith country code (in E.164 format)
"+19876543007"
agent status response
The ID of the batch
"3c90c3cc0d444b5088888dd25736052a"
Status of the request
created
Was this page helpful?