Quick Start
Get your first voice agent running in minutes. This guide walks you through authentication, creating a workflow, and initiating your first call.
Authentication
All API requests require authentication. Ring AI supports two authentication methods.
Bearer Token
Use your access token in the Authorization header.
Authorization: Bearer your_token
API Key
Pass your API key in the X-API-Key header.
X-API-Key: your_api_key
Never expose API keys in client-side code or public repositories. Use environment variables and server-side requests.
Getting Your API Key
Generate API keys from your dashboard or via the API:
Create a new API key for your account.
List all API keys associated with your account.
Your First Call
Follow these steps to create a workflow and initiate your first AI-powered phone call.
1. Create a Workflow
Workflows define your agent's behavior, voice, and conversation flow.
curl -X POST https://api.ringai.com/api/v1/workflow/create/definition \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Support Agent",
"description": "Customer support workflow",
"nodes": [...],
"voice_provider": "elevenlabs",
"voice_id": "rachel"
}'
2. Initiate a Call
Use the telephony endpoint to start an outbound call with your workflow.
curl -X POST https://api.ringai.com/api/v1/telephony/initiate-call \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"workflow_id": "wf_abc123",
"phone_number": "+14155551234",
"context": {
"customer_name": "John",
"account_id": "12345"
}
}'
The call will be initiated within seconds. Your AI agent will handle the conversation based on your workflow configuration.
Workflows
Workflows are the core building blocks of Ring AI. They define how your voice agent behaves, what it says, and how it responds.
Create a new workflow from a node definition.
Create a workflow from a pre-built template.
List all workflows in your account.
Get details of a specific workflow.
Update an existing workflow.
Validate workflow nodes before deployment.
Workflow Runs
Track individual executions of your workflows.
Create a new workflow run.
List all runs for a workflow (paginated).
Telephony
Initiate calls, handle inbound calls, and manage provider integrations. Supports Twilio, Vonage, and other major providers.
Outbound Calls
Initiate an outbound call with a workflow.
Inbound Calls
Handle incoming calls with multi-provider support.
Fallback endpoint with audio message.
Provider Webhooks
Configure status callbacks for your telephony provider. Ring AI supports Twilio, Vonage, and other major providers.
Receive status updates for call events (started, ringing, answered, completed).
Campaigns
Run batch calling campaigns with scheduling, progress tracking, and pause/resume controls.
Create a new calling campaign.
List all campaigns.
Start campaign execution.
Pause a running campaign.
Resume a paused campaign.
Get campaign statistics and progress.
Phone Numbers
Search, purchase, and manage phone numbers for your voice agents.
Search available phone numbers by area code and country.
Purchase a phone number.
List all phone numbers in your organization.
Assign a phone number to an agent.
Voices & TTS
Ring AI integrates with multiple text-to-speech providers for natural-sounding voice agents.
ElevenLabs
Ultra-realistic voices with emotion.
Deepgram
Low-latency streaming TTS.
Cartesia
Fast, expressive synthesis.
Get available voices for a TTS provider.
Supported providers: elevenlabs, deepgram, cartesia
Integrations
Connect Ring AI to your existing tools and services.
List all integrations.
Create an integration session.
Update an integration.
Webhooks & Credentials
Configure webhook credentials for secure callbacks.
List all webhook credentials.
Create a new webhook credential.
Update a credential.
Delete a credential.
Custom Tools
Extend your agent's capabilities with custom tools and functions.
List tools (filter by status, category).
Create a custom tool.
Update a tool.
Archive a tool.
API Keys
Manage API keys and service keys for authentication.
API Keys
List all API keys.
Create a new API key.
Archive an API key.
Usage & Analytics
Track usage, view reports, and monitor your organization's activity.
Get current billing period usage.
Get daily usage statistics.
Get daily report by date and timezone.
Get detailed runs with CSV export.
Organization
Configure organization-wide settings including telephony providers.
Get telephony configuration (credentials masked).
Save telephony provider configuration.
Supported providers: twilio, vonage
Embed Widget
Embed a voice agent directly on your website.
Initialize an embed session.
Get embed configuration.
Create or update embed token for a workflow.
Public Agent Trigger
Trigger a call via public API (requires X-API-Key).