Initiate Individual Call
Starts one outbound call to a recipient. Exactly one caller-number option is required: from_number_id or from_number.
Required inputs
| Field | Purpose |
|---|---|
name | Recipient name. Ringg also uses this as callee_name if you do not provide one in custom_args_values. |
mobile_number | Recipient phone number in E.164 format, for example +919876543210. |
agent_id | Assistant that will handle the conversation. Get it from GET /agent/all. |
from_number_id or from_number | Caller ID to use. Exactly one is required. Use from_number_id when possible because it is stable across number formatting changes. |
Minimal request
Custom variables
Usecustom_args_values to pass dynamic data to your assistant.
- Reference variables in prompts with
@{{variable_name}}. - Keep keys stable across your code, prompts, CSV mappings, and analytics.
- Common keys include
callee_name,mobile_number,company_name,appointment_date, and your product-specific IDs.
Scheduled calls
Addcall_config.call_time.scheduled_at when the call should be queued for a specific date and time.
call_start_time and call_end_time still act as the allowed calling window in the specified timezone.
Retry configuration
Use retry settings when a recipient is busy, does not answer, or the provider fails the call.Smart formatter
smart_formatter can normalize callee names before the call.
Mr Rajesh Kumar can become Rajesh or a transliterated value in callee_name. The original name is preserved as original_callee_name in custom_args_values.
Result handling
Store the returned call ID. Use it to:- Match webhook events to your internal record.
- Fetch details with Get call details.
- Reconcile rows from Get call history.
Common failure checks
| Symptom | Check |
|---|---|
401 Unauthorized | Missing or invalid X-API-KEY. |
| Validation error | Missing required field, both from_number_id and from_number provided, or invalid phone number. |
| Call remains queued | Calling window, scheduled time, workspace credits, or provider health. |
| Assistant says wrong data | Prompt placeholders do not match custom_args_values keys. |
Headers
(Required) Your Ringg AI API key.
"7251cb4b-3373-43a4-844c-b27a1d45e0c9"
Body
- Option 1
- Option 2
The name of the person to call
"John Doe"
The phone number to call (must include country code, e.g., +91 for India)
"+1234567890"
UUID of the agent that will handle the call
"830f767a-397e-4b39-82ff-235cd344e2f9"
Workspace number ID, or array of workspace number IDs, to use as caller ID. Provide either from_number_id or from_number, not both.
"from-number-id"
Caller phone number, or array of caller phone numbers, with country code. Provide either from_number or from_number_id, not both.
"+1987654321"
Custom variables that will be replaced in the agent's prompt using @{{variable_name}} syntax
{
"company_name": "XYZ Corp",
"appointment_date": "2025-01-20",
"product_name": "Premium Service"
}(Optional) Smart formatting for callee name — supports first name extraction and dictionary-based transliteration
{
"extract_first_name": true,
"transliteration": true,
"transliteration_language": { "source": "en", "target": "hi" }
}(Optional) Override default call configuration
{
"idle_timeout_warning": 10,
"idle_timeout_end": 15,
"max_call_length": 300,
"call_retry_config": {
"retry_count": 3,
"retry_busy": 30,
"retry_not_picked": 30,
"retry_failed": 30
},
"call_time": {
"call_start_time": "00:00",
"call_end_time": "23:59",
"timezone": "Asia/Kolkata"
}
}Optional webhook URL for call events for this request.
"https://api.example.com/ringg/callback"
Optional headers and query params Ringg should include when calling callback_url.
Optional assistant version ID. Defaults to the active version.
"387bd8f1-5748-4006-b7fe-6a6455e9d45d"
Optional category for internal reporting or workflow grouping.
"renewal_reminder"
Optional parent call ID for follow-up or chained-call flows.
"550e8400-e29b-41d4-a716-446655440000"
