Starts an outbound phone call to the given number using the specified agent. The call is placed asynchronously — use webhook_url to receive a notification when the call completes.
Documentation Index
Fetch the complete documentation index at: https://docs.osvi.ai/llms.txt
Use this file to discover all available pages before exploring further.
16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.
Unique identifier of the OSVI agent that will handle the call.
"agent_IsxxxxSf_60EhxxxxMGbz-Rxxg"
Destination phone number (digits only, without country code).
"9876543210"
ISO 3166-1 alpha-2 country code of the destination number.
"IN"
Optional runtime override for the agent's system prompt for this call only.
"You are calling to confirm the appointment scheduled for tomorrow at 10 AM."
URL that OSVI will POST to when the call completes. The payload matches the webhook schema documented in the Webhooks section.
"https://yourdomain.com/osvi-webhook"
Name of the person being called. Made available to the agent during the call.
"John Doe"
Arbitrary key-value data passed to the agent at runtime. Use this to provide context the agent can reference during the conversation.
{
"appointment_date": "2025-01-15",
"product_name": "Premium Plan"
}