POST
/
batches
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",
  "from_phone_number": "+19876543007"
}'
{
  "batch_id": "3c90c3cc0d444b5088888dd25736052a",
  "state": "created"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

text/csv

Response

200
application/json

agent status response

The response is of type object.