Skip to main content
POST
/
v1
/
create-outbound-batch-call
Create Outbound Batch Call
curl --request POST \
  --url https://client-api.tryvox.co/v1/create-outbound-batch-call \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "call_from": "<string>",
  "agent_id": "<string>",
  "agent_version": "production",
  "tasks": [
    {
      "call_to": "<string>",
      "metadata": {},
      "dynamic_variables": {},
      "presentation_number": "<string>"
    }
  ]
}'
{
  "batch_id": "<string>",
  "status": "queued",
  "total_tasks": 123,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json
name
string
required
call_from
string
required
agent_id
string
required
tasks
object[]
required
agent_version
string | null
default:production

Response

batch_id
string
required
status
enum<string>
required
Available options:
queued,
processing,
failed
total_tasks
integer
required
message
string