The originate-to-AI endpoint lets you make a phone call to someone and connect them to an AI voice bot. This is useful for automated outreach, appointment reminders, surveys, and follow-up calls.Documentation Index
Fetch the complete documentation index at: https://docs.astradial.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Authentication
Requires an API key withcalls.originate_ai permission.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
to | string | Yes | Phone number to call |
caller_id | string | No | Caller ID shown to the person being called |
ai_agent_app | string | No | The ARI application name (default: “ai_agent”) |
wss_url | string | Yes | WebSocket URL for the AI bot |
timeout | number | No | Seconds to wait for answer (default: 30) |
variables | object | No | Custom variables passed to the bot |
Example: wake-up call
Example: using an extension with a bot
If you have a user configured with AI routing, you can call through that extension:How it works
- Astradial dials the phone number
- When the person answers, the call connects to the AI bot via WebSocket
- The bot follows its conversation flow
- Variables you pass are available to the bot for personalized responses
- The bot can transfer to a human, create tickets, or end the conversation

