Voice API

A voice API your agent can build on.

Place and control calls with one REST API at api.tryvox.io. Get a webhook at every stage, record calls, run conferences and build call flows with VoxML.

Scroll to open the stack05 / 05
  • Your codeYour app decides what happens next
  • VoxML flowsSay, Gather, Dial and Stream
  • WebhooksRing, answer, status and hangup callbacks
  • Calls APIPlace and list calls with one request
  • Phone networkThe public phone network

Calls should be as programmable as the rest of your stack.

One REST API places calls, a webhook reports every stage, and VoxML tells each call what to do.

Recordings, conferences and live control are one request away.

Calls›Today
CallStatusDuration
call_8f2a19In progress01:42
call_7c11e0Ringing00:00
call_6b90d4Completed03:08

Make calls

One request starts the call.

POST from, to and answer_url. TryVox replies 201 with status queued and calls your webhooks as the call moves. Place calls one by one or in bulk.

  • ring_timeout and time_limit per call
  • Bulk calls on the same endpoint
  • HTTP Basic auth with Auth ID and Token
Webhooks›LogSigned
POST ring_url · 200
POST answer_url · VoxML
POST status_callback_url · 200
POST hangup_url · 200

Webhooks

Every stage, in your system.

Ring, answer, status and hangup callbacks reach your endpoint as they happen, signed with your webhook secret.

  • ring_url, answer_url, hangup_url
  • status_callback_url for progress
  • Signed with webhook_secret
VoxML›answer_url
  • Say a greeting
  • Gather a keypress
  • Stream audio to the agent
  • Dial a person on request

VoxML

Build the call flow in VoxML.

When a call is answered, TryVox asks your answer_url what to do. Reply with VoxML verbs and TryVox runs them on the call.

  • Say, Play and Gather for menus
  • Dial and Conference to bring people in
  • Stream to send live audio to your agent
Voice API›OverviewLive
AuthHTTP Basic
EventsEvery stage
Call flowsVoxML

Results

An API that stays out of your way.

Auth ID and Auth Token. Nothing else to manage. Say, Gather, Dial, Stream, Record and Conference.

  • Auth: HTTP Basic
  • Events: Every stage
  • Call flows: VoxML

✓0/4 checks · India-ready

Compliance

Compliance and control, built in.

India’s telecom rules are part of the product, not a project you run on the side.

Business KYCDLT-ready SMSConsent recordsVerified caller IDs

For developers

Straight from the docs.

A REST API at api.tryvox.io with HTTP Basic auth. Every example on this page matches the documentation.

# Place an outbound call
curl -X POST https://api.tryvox.io/v1/voice/accounts/$TRYVOX_AUTH_ID/calls \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN \
  -H "Content-Type: application/json" \
  -d '{
    "from": "+918047182290",
    "to": "+919812345678",
    "answer_url": "https://example.com/answer",
    "hangup_url": "https://example.com/hangup",
    "status_callback_url": "https://example.com/status",
    "ring_timeout": 30,
    "time_limit": 3600
  }'

Based on Make a call in the TryVox docs.

Integrations

Connect with everything you already run.

Your agent platform, your voice stack and your channels, on one phone layer.

Vapi
Retell AI
LiveKit
Bolna
ElevenLabs
Deepgram
Amazon Polly
Asterisk
FreeSWITCH
Any SIP PBX
WhatsApp
DLT SMS
Toll-free
Local numbers
SIP trunks
Webhooks
VoxML
REST API
Recordings
Signed callbacks

FAQ

Questions teams ask first.

How do I authenticate with the TryVox Voice API?

HTTP Basic auth. Your Auth ID is the username and your Auth Token is the password. Both are in the dashboard.

What does answer_url need to return?

VoxML. TryVox calls answer_url when the call is answered and runs the VoxML verbs you return.

Can I place outbound calls in bulk?

Yes. The same calls endpoint accepts a list of calls.

Can I record calls?

Yes. Record calls and fetch recordings through the API.

Is answering machine detection available?

Not yet. The parameter is accepted but has no effect today, so don't rely on it.