Getting started with Raya Voice AI Agents
This guide will help you get up and running with Raya Voice AI Agents API.
Prerequisites
- An API key (contact your administrator)
- HTTP client (cURL, Postman, or your preferred tool)
- Basic understanding of REST APIs
Step 1: List Your Agents
See all available agents:
Response:
Step 2: Initiate a Call
Make a call using an agent. Optional agent_args lets you pass extra context (e.g. contact name, order ID); it must be a JSON object {}, not an array.
Response:
Step 3: Check Call Status
Poll for call completion (recommended: every 2 minutes):
Response:
Step 4: Create or configure an agent (Optional)
Create a new agent with optional voice and runtime settings. Only name is required.
Use GET /api/agent/{id} to read full configuration (including language_id, voice_id, tools, and call messages). Use PATCH /api/agent/{id} to update individual fields.
For language_id and voice_id UUIDs, see Language Options and Voice Options. Enabled options vary per team — confirm with your administrator if a UUID is rejected.
See Core Concepts — Voice and runtime settings for all optional fields. For tools, see LLM function tools.
Step 5: Create a Batch (Optional)
For multiple calls, create a batch:
Next Steps
- Learn about Core Concepts
- Explore Use Cases
- Review Best Practices
- Browse the API Reference

