Batches
Create batch
Create batch for agent
POST
/
batches
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
multipart/form-data
agent_id
string
requiredThe ID of the agent
file
file
requiredCSV 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
requiredThe ID of the batch
state
enum<string>
requiredStatus of the request
Available options:
created
Was this page helpful?