Getting Started
Welcome to the VoxAI documentation. This guide will help you integrate AI voice agents into your application using our REST API, SDK, or the visual pathway builder.
What is VoxAI?
VoxAI is an enterprise voice AI platform that lets you build, deploy, and manage AI-powered phone agents. Whether you need to handle inbound customer support, run outbound campaigns, or automate appointment scheduling — VoxAI handles it all programmatically.
Architecture Overview
- API Layer — RESTful API for managing agents, calls, and configurations
- Pathway Engine — Visual or code-based workflow builder for call logic
- Voice Stack — STT → LLM → TTS pipeline with sub-500ms latency
- Telephony Network — Global PSTN connectivity with local numbers in 50+ countries
- Analytics — Real-time dashboards, call recordings, and performance metrics
Prerequisites
- A VoxAI account (view pricing)
- An API key from your dashboard settings
- A verified phone number for outbound calls (included)
Quickstart
Make your first AI-powered call in under 2 minutes. No setup required — just plug in your API key and go.
Create an agent
Make a call
Response
API Reference
All VoxAI API endpoints follow RESTful conventions. Responses are in JSON format. The base URL is https://api.voxai.com/v1.
Authentication
Include your API key in the Authorization header as a Bearer token: Authorization: Bearer sk_live_...
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/agents | Create a new voice agent |
| GET | /v1/agents/{id} | Retrieve an agent by ID |
| GET | /v1/agents | List all agents (paginated) |
| POST | /v1/calls | Initiate an outbound call |
| GET | /v1/calls/{id} | Get call details and transcript |
| GET | /v1/calls | List calls with filters |
| POST | /v1/recordings/{id} | Retrieve call recording |
| POST | /v1/webhooks | Register a webhook endpoint |
| DELETE | /v1/agents/{id} | Delete an agent |
| GET | /v1/analytics | Get aggregated analytics data |
SDKs
VoxAI provides officially maintained SDKs for the most popular programming languages. All SDKs are open-source under the MIT license.
| Language | Package | Version |
|---|---|---|
| Python | pip install voxai | VoiceAgent |
| JavaScript / TypeScript | npm install @voxai/sdk | VoiceAgent |
| Go | go get github.com/voxai/go-sdk | VoiceAgent |
| Ruby | gem install voxai-ruby | VoiceAgent |
JavaScript Example
Webhooks
Register webhook endpoints to receive real-time events about call status changes, completions, and errors.
Register a Webhook
Event Types
call.initiated— Call has been placed in the queuecall.answered— The recipient has answeredcall.completed— Call ended normally with resultscall.failed— Call failed (busy, no answer, invalid number)agent.updated— Agent configuration was modifiedagent.deployed— New agent version is live