Batches
Create a batch
https://voxa.abhinavyadav.in/api/v1/batchesSchedule a batch from an upload. Each valid row becomes a contact; the other columns become
its user_data. Calls go through the workspace’s outbound queue inside the agent’s calling hours.
Authorization
An API key (X-API-Key or Authorization: Bearer), or a signed-in member with the calls.place permission.
Query parameters
timezonestringdefault: "Asia/Kolkata"IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.
Body application/json
upload_idstringrequiredat most 64 characters
agent_idstringrequiredat most 64 characters
namestringat most 120 characters
phone_columnstringdetected when empty
at most 64 characters
from_numberstringthe agent's number when empty
matches ^$|^\+?[0-9]{8,15}$
start_atstring | nullwhen to start; empty or past = now. Without an offset it is read in timezone
date-time
timezonestringdefault: "Asia/Kolkata"at most 64 characters
retryobjectShow child attributes
outcomesenum<string>[]call outcomes that are retried
max_retriesintegerdefault: 1extra attempts per contact after the first call
0 to 3
delay_minutesintegerdefault: 30wait between attempts
1 to 1440
Response
201Success.
No body.
401No credentials, or they are invalid or revoked.
detailstringWhat went wrong, in plain words.
403Your role (or an API key) lacks the permission.
detailstringWhat went wrong, in plain words.
422Validation Error
detailobject[]Show item attributes
locstring | integer[]msgstringtypestring429Over the per-key rate limit; wait for Retry-After.
detailstringWhat went wrong, in plain words.