POST
/
batches

Authorizations

Authorization
string
headerrequired

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

Body

text/csv
agent_id
string
required

The ID of the agent

file
file
required

CSV file to upload

from_phone_number
string

Phone number from which the batch will be called alongwith country code (in E.164 format)

Response

200 - application/json
batch_id
string
required

The ID of the batch

state
enum<string>
required

Status of the request

Available options:
created