Create a new agent
Agents API
Create Agent
Create a new voice agent with specified configuration
POST
Create a new agent
Overview
Create a new voice agent within your organization. The agent is initialized with sensible defaults that match the configuration applied when creating an agent through the Inya dashboard. You can then update any setting via the Update Agent endpoint.Required Permission
agents
Request Body
Default Configuration
The created agent inherits the following default configuration: barge-in enabled, TTS caching enabled, LLM temperature
0.5, max tokens 300, and language derived from the selected region.Example cURL
Response
Success (201)
Error Responses
403 Forbidden - Insufficient permissions (QA role)Use Cases
- Setting up a new customer support agent
- Creating region-specific agents for different markets
- Deploying separate agents for different departments or products
Save the
requestId from every response. You will need it if you contact Inya support to trace a specific request.Authorizations
API key with 'agents' permission
Body
application/json