Voice APIs for developers
IVR Solutions gives developers simple REST APIs for calls, dialers, agents and logs — clean JSON over HTTPS, with live testing right on this page. Add voice to your product in an afternoon.
# Bridge an agent and a customer in one request curl -X POST https://api.ivrsolutions.in/api/c2c_post \ -H "Authorization: Bearer ••••••••" \ -F "did=+911143104567" \ -F "ext_no=2101" \ -F "phone=09876543210" → 200 OK { "status": 200, "message": "Call connecting. Please wait...", "logid": 123456 }
Authenticate with your token, then pick a starting point. Each call is live and ready to test in the reference below.
Bridge an agent and a customer instantly with click-to-call.
Open → POST /api/create_text_dialerSpin up an outbound auto-dialer from a text-to-speech template.
Open → GET /api/call_logsPull complete call history and reconcile results in JSON.
Open → POST /ivrappv2/buy_didSearch availability by region and purchase a virtual number.
Open →Ten capability groups across 66 endpoints — composable into anything from a “call me” button to an AI-driven outbound campaign.
Instantly bridge an agent and a customer over GET or POST. Perfect for callbacks and “call me” buttons.
Fire outbound calls from text-to-speech templates or pre-built IVR flows, one at a time or in bulk.
Start, stop and add numbers to dialer campaigns on the fly, and track every result.
Stream live call audio to your WebSocket bot via the WSS Telephony Bridge — real-time speech-to-text, system prompts, DTMF and in-call transfers.
Create, list and check the status of text-to-speech templates for your dialers.
Add, edit and deactivate agents and extensions, set expiry and assign DID numbers.
Pull complete history across click-to-call, dialer and inbound. Filter, check status, add notes.
List, search and provision virtual numbers, and manage contacts and call variables.
Register webhook URLs to receive real-time call events — rings, answers, hangups and DTMF.
A few endpoints compose into complete voice journeys. Here’s how teams wire them together.
/api/dial_by_text — “Press 1 to confirm, 2 to cancel.”/api/dialer_logs./api/c2c_post./api/get_call_status using the logid./api/create_text_dialer./api/add_to_ivrdialerbulk./api/change_dialer_status./api/dialer_logs./api/dial_by_aivoicebot, pointing wss_url at your bot.start and media audio events over the WebSocket.response.audio.delta to speak; handle dtmf keypresses.session.transfer or end with session.hangup.Pick a call below, tap Try it to run it for real, and copy ready-made code in cURL, JavaScript, Python or PHP. Generated from the OpenAPI spec, so it always matches the live API.
Settings → API token — or Integrations → API documentation — and copy your bearer key into Authorize below.