Skip to main content
POST
Initiate Individual Call

Initiate Individual Call

Start a new outbound call to a specific recipient using your configured AI agent. This endpoint supports both immediate calls and scheduled calls for future execution.
Phone Number Format:
  • All phone numbers must include country code (e.g., +91 for India, +1 for US)
  • Invalid formats will result in call failure

Scheduled Calls

Use scheduled_at to schedule calls for a specific date and time:
Scheduled Calls: When scheduled_at is provided, the call will be queued and executed at that specific date and time. The time window (call_start_time and call_end_time) still applies as additional validation. Use this for precise scheduling of important calls.

Custom Variables

Use the custom_args_values field to pass dynamic data to your agent:
  • Reference variables in your agent prompt using @{{variable_name}} syntax
  • Common variables: callee_name, company_name, appointment_date, etc.
  • Variables are replaced with actual values during the call

Important Notes

  • Agent Configuration: Ensure your agent is properly configured with prompts and variables
  • From Numbers: Use phone numbers that are provisioned in your workspace
  • Credits: Each call consumes credits based on duration and destination
  • Retry Logic: Configure retry attempts for busy/failed calls in call_config

Headers

X-API-KEY
string
required

(Required) Your Revenueable AI API key.

Example:

"7251cb4b-3373-43a4-844c-b27a1d45e0c9"

Body

application/json
name
string
required

The name of the person to call

Example:

"John Doe"

mobile_number
string
required

The phone number to call (must include country code, e.g., +91 for India)

Example:

"+1234567890"

agent_id
string
required

UUID of the agent that will handle the call

Example:

"830f767a-397e-4b39-82ff-235cd344e2f9"

from_number
string
required

The phone number to call from (with country code)

Example:

"+1987654321"

custom_args_values
object

Custom variables that will be replaced in the agent's prompt using @{{variable_name}} syntax

Example:
call_config
object

(Optional) Override default call configuration

Example:

Response

Successful Response: Details about the initiated call.

status
string
Example:

"success"

data
object
message
string
Example:

"Call initiated successfully"