Update Voice Agent
AI Agents
Update Voice Agent
Update Voice AI agent with comprehensive configuration options
PATCH
Update Voice Agent
Overview
Update an existing Voice agent’s configuration including voice settings, conversation behavior, voicemail handling, and AI behavior. All parameters from Create Voice Agent can be updated.This endpoint is for Voice agents only. For SMS agents, see Update SMS Agent.For updating tools (function calling, transfers, etc.), use Update Voice Agent Tools.
Authentication
Your Teli API key
Path Parameters
The unique identifier of the Voice agent to update
Request Body
All fields are optional. Only include the fields you want to update.Basic Settings
Display name for the agent
First message spoken when call connects. Supports
{{first_name}}, {{last_name}}AI behavior instructions defining personality and conversation goals
Voice Configuration
Voice ID for text-to-speech. See List Voices for options.
Voice stability. Range: 0 (stable) to 2 (varied)
Speech rate. Range: 0.5 (slow) to 2 (fast)
Agent volume. Range: 0 (quiet) to 2 (loud)
Language
Speech recognition language
en-US(English - US)en-GB(English - UK)es-ES(Spanish - Spain)es-419(Spanish - Latin America)fr-FR(French)de-DE(German)ja-JP(Japanese)zh-CN(Chinese)multi(Multilingual)
Conversation Behavior
How quickly agent responds. Range: 0 (slower) to 1 (faster)
How easily user can interrupt. Range: 0 (hard) to 1 (easy)
Enable conversational interjections (“yeah”, “uh-huh”)
How often to interject. Range: 0 (rarely) to 1 (frequently)
Custom backchannel words. Example:
["right", "I see", "got it"]Ambient Sound
Background audio for realism
null- No ambient soundcoffee-shop- Café atmosphereconvention-hall- Echo, crowd noisesummer-outdoor- Cicadas, naturemountain-outdoor- Birds, windstatic-noise- Light staticcall-center- Office background
Ambient sound level. Range: 0 to 2
Voicemail Detection
Automatically detect voicemail
Message to leave on voicemail. Empty string = hangup immediately
Detection timeout in milliseconds. Range: 5000 to 180000
Reminder & Silence Settings
Time (ms) to wait before reminding silent user
Maximum reminders before ending call. 0 = disabled
End call after this much silence (ms). Minimum: 10000
Call Settings
Maximum call length in milliseconds. Range: 60000 to 7200000
Delay before speaking (ms). Range: 0 to 5000
Ring timeout for outbound calls (ms). Range: 5000 to 90000
Speech Recognition
Speech-to-text mode:
fast or accurateVocabulary focus:
general or medicalWords to boost recognition. Example:
["Acme", "TurboWidget"]Convert numbers/dates to spoken form
Allow keypad input (press 1, press 2, etc.)
Audio cleanup:
noise-cancellation or noise-and-background-speech-cancellationKnowledge Base
Link knowledge bases for RAG retrieval. Example:
["kb_abc123"]Knowledge base retrieval settings
kb_config Example
Data Extraction (Post-Call Analysis)
Automatically extract custom data from call transcripts after each call ends.List of field names to extract from conversations. Simple string array.Example:
["credit_score", "loan_amount", "annual_income", "interested"]Extracted data is accessible via GET /v1/voice/calls//extractions.Advanced: Define custom fields with specific types. Use Enum Type - Extract from predefined choices:Boolean Type - Extract true/false:Number Type - Extract numeric values:
extraction_fields for simpler configuration.String Type - Extract free-form text:Privacy & Storage
What data to store
everything- Full transcripts, recordings, logseverything_except_pii- Scrub PII before storingbasic_attributes_only- No transcripts/recordings
Request Examples
Update Voice Settings
Update Conversation Behavior
Update Voicemail Settings
Update AI Prompt & Knowledge Base
Update Post-Call Analysis
Comprehensive Update
Response
Success Response
Indicates successful update
The updated agent’s unique identifier
Whether voice/call settings were updated
Whether AI prompt/tools/knowledge base was updated
Whether agent metadata was updated
Error Responses
Use Case Presets
Cold Calling / Sales
Customer Support
Appointment Reminders
Best Practices
Test changes: Test with a single call before updating production agents
Start conservative: Begin with default values and adjust gradually
Match voice to persona: Choose voice settings that match your agent’s personality
Enable backchannel for long calls: Makes conversations feel more natural
Set appropriate timeouts: Adjust silence and reminder settings for your use case
Notes
Related Endpoints
- Create Voice Agent - Create a new voice agent
- Update Voice Agent Tools - Manage function calling, transfers, etc.
- Get Agent - Retrieve agent details
- List Voices - Browse available voices
- Create Knowledge Base - Create KB for RAG

