# Voice API

> Programmable Voice API for India. Place and receive calls on Indian numbers, control them with VoiceML JSON, stream audio to your bot or run a text-only relay bot. Rs 0.50 per minute.

Source: https://edesy.in/docs/voice-api

The Edesy Voice API places and receives phone calls on Indian numbers from your own code. You send one `POST /v1/calls` request, and the call speaks text, runs VoiceML (JSON instructions), streams raw audio to your bot over a WebSocket, or follows a saved application. Calls cost Rs 0.50 per minute with a 60-second pulse, and unanswered calls are free.

> **Ready to build?** Sign in at [voice-app.edesy.in](https://voice-app.edesy.in), finish KYC, buy a number, create an API key and place your first call. See the [Quick Start](https://edesy.in/docs/voice-api/getting-started/quick-start).

## What is available today

| Area | What you get |
|---|---|
| Outbound calls | `POST /v1/calls` with five ways to drive the call: `text`, `url`, `voiceml`, `stream_url` or `application_id` |
| Call control | Read, list, hang up a live call, per-call event timeline |
| VoiceML | JSON instructions: `say`, `play`, `gather`, `record`, `dial`, `stream`, `redirect`, `enqueue`, `reject`, `hangup`, `pause` |
| Status callbacks | Twilio-style PascalCase payload with `CallStatus`, `HangupReason`, `CallOutcome` and `SipResponseCode` |
| Media Streams | Bidirectional raw L16 PCM over WebSocket, 8 kHz or 16 kHz, for Pipecat or your own bot |
| Conversation Relay | Text in, text out bot protocol, compatible with Twilio ConversationRelay. Edesy runs STT, TTS, barge-in and DTMF |
| Phone numbers | Search and buy Indian mobile, landline, toll-free and 92-series numbers; route inbound calls to 11 kinds of target |
| Campaigns | Voice broadcast and agent dialer, CSV or API leads, AMD, DNC suppression, cost estimate |
| Webhooks | Signed event subscriptions with delivery log, retries and replay |
| Account | Workspaces, team roles, API keys, prepaid INR wallet, GST invoices, KYC |

## Where to go next

- New here: [Introduction](https://edesy.in/docs/voice-api/getting-started) and [Quick Start](https://edesy.in/docs/voice-api/getting-started/quick-start).
- Building an AI voice agent: [SIP, Stream or Relay?](https://edesy.in/docs/voice-api/streaming/choosing-sip-stream-or-relay). For SIP, see [SIP for AI voice agents](https://edesy.in/docs/sip-trunk-for-ai-voice-agents).
- Coming from Twilio: [Migrate from Twilio](https://edesy.in/docs/voice-api/guides/migrate-from-twilio).

Product overview: [Voice API](https://edesy.in/voice-api). Pricing: [Voice API pricing](https://edesy.in/voice-api/pricing). Numbers: [virtual phone numbers](https://edesy.in/virtual-phone-number). Trunks: [SIP trunking](https://edesy.in/sip-trunking).
