Ringg AI gives your product programmable voice agents for outbound calls, inbound calls, web calls, bulk campaigns, and post-call analytics. Create the assistant in the dashboard, trigger calls from your backend, and receive results through webhooks or the call history APIs.Documentation Index
Fetch the complete documentation index at: https://docs.ringg.ai/llms.txt
Use this file to discover all available pages before exploring further.
Choose your path
Start with the path that matches your role. Each path links to the smallest useful guide first, then to deeper reference pages.Backend/API integration
Make outbound calls, run campaigns, receive webhooks, query history, and build production backend workflows.
Web widget integration
Embed Ringg voice or chat assistance in a website, then configure styling, events, chat widgets, CSP, and QA.
Dashboard setup
Create assistants, prompts, knowledge bases, numbers, campaigns, and analytics views without reading API docs first.
5-minute integration path
Get an API key
In the Ringg dashboard, open API and copy your workspace API key. Send it on every API request as
X-API-KEY.Check workspace access
Call
GET /workspace to verify the key, workspace, and available credits before starting a call flow.Choose an assistant
Call
GET /agent/all and select an assistant configured for your channel, such as outbound calls or web calls.Choose a caller number
Call
GET /workspace/numbers and use a provisioned number as from_number_id. The individual-call API requires exactly one caller-number option: from_number_id or from_number.Initiate the call
Call
POST /calling/outbound/individual with the recipient, assistant, caller number, and any custom_args_values your prompt uses.Copy-paste starter
API basics
| Concern | What to use |
|---|---|
| Base URL | https://prod-api.ringg.ai/ca/api/v0 |
| Authentication | X-API-KEY: your-api-key |
| Request body | JSON for normal API calls, multipart/form-data for campaign CSV uploads |
| Phone numbers | E.164 format with country code, for example +919876543210 |
| Dynamic prompt data | custom_args_values, referenced in prompts as @{{variable_name}} |
| Call identifier | Store the returned call_id for history lookup, webhook dedupe, and support debugging |
| Async results | Prefer webhooks for production integrations; use history APIs for dashboards and reconciliation |
Integration paths
Outbound calling API
Start immediate or scheduled calls, pass custom variables, configure retry behavior, and use smart formatting for names.
Campaign API
Upload a CSV, map columns to assistant variables, choose campaign windows, and start calls with selected from numbers.
Assistant setup
Create prompts, select voices, configure variables, and prepare an assistant for phone or web calling.
Number management
Buy, import, assign, and verify phone numbers used by outbound and inbound call flows.
Webhooks
Receive
call_started, call_completed, recording, analysis, and all_processing_completed events.Analytics and history
Retrieve transcripts, statuses, durations, recordings, classifications, and performance metrics.
Design for production
- Keep API keys in server secrets and rotate them when team access changes.
- Validate phone numbers before sending calls. Include country code on every recipient number.
- Store Ringg IDs in your database:
agent_id,from_number_id,call_id,bulk_list_id, and campaign IDs. - Pass only the data the assistant needs in
custom_args_values; avoid unnecessary personal data. - Configure
call_config.call_timeand retry settings for calling windows, time zones, busy users, and no-answer flows. - Subscribe to
all_processing_completedwhen your product needs the full transcript, recording, platform analysis, and custom analysis in one event. - Make webhook handlers idempotent by deduping on
call_idplusevent_type. - Return
2xxfrom webhook handlers quickly, then do heavier processing in your own job queue. - Reconcile webhook data with call history exports for dashboards, billing, and support workflows.
Troubleshooting map
| Symptom | Check first | Go deeper |
|---|---|---|
401 Unauthorized | Missing or invalid X-API-KEY | Authentication |
| Call does not start | Assistant type, credits, from number, recipient format | Initiate individual call |
| Variables are not spoken | custom_args_values keys and prompt placeholders | Configure assistant |
| Campaign upload fails | CSV headers, variables_map, country code, future campaign window | Upload campaign contact list |
| Missing post-call data | Webhook event subscription and endpoint 2xx responses | Webhook setup |
| Poor web call experience | Domain whitelist, microphone permission, CSP, SDK version | Web call integration |
Next steps
Quick Start
Make a real API call and learn the request shape.
API Overview
Review resources, headers, pagination, errors, and versioning.
Security Guidelines
Protect API keys, webhook endpoints, recordings, and user data.
