Create Agent
Create a new voice agent with ASR, TTS, LLM, and turn-taking configurations.
HTTP Request
Request Body
ASR Configuration
Turn Configuration
LLM Configuration
Webhooks Configuration
Each webhook object requires:
System Tools Configuration
System tools are automatically created for each agent. You can configure them:
Each system tool accepts:
Example Request
Response (Success)
Response (Error)
Validation Rules
Agent Validations
- name: Required, cannot be empty
- voice_uuid: Required, must reference an existing voice in your team
- languages: Must be one of: “en-US” (currently only language supported)
- phone_number_id: If provided, must reference an existing phone number that is not already linked to another agent
- dynamic_variables:
- Keys: Max 64 characters, cannot be reserved words (proto, constructor, prototype)
- Values: Max 2048 characters, must be scalar (string, number, boolean, or null)
- Must be a flat hash (no nested objects or arrays)
ASR Validations
- provider + model combination: Must be a supported ASR capability (check /agents/capabilities endpoint)
- user_input_audio_format: Must be one of the supported formats
- keywords: Array of strings
LLM Validations
- provider + model combination: Must be a supported LLM capability (check /agents/capabilities endpoint)
- temperature: Must be a float value
- timezone: Must be a valid timezone string or null
Turn Validations
- turn_timeout: Must be ≥ 0
- silence_end_call_timeout: Must be ≥ -1 (where -1 = disabled)
- mode: Must be “silence”
Interoperability Validations
The system validates that all components (ASR, LLM, Turn, TTS) are compatible with each other.
