Updates an existing agent
simple, advanced, custom, appointment_scheduler, receptionist, message_takeractive - Agent is available to receive callsinactive - Agent is temporarily disabledcancelled - Agent is permanently disabledpending - Agent is pending activationgpt-4.1 (recommended), gpt-4.1-mini, gpt-4o, gpt-4o-minideepgramcartesia, minimaxttsModel:For Cartesia:| Property | Type | Default | Description |
|---|---|---|---|
min_endpointing_delay | number | 0.1 | Seconds to wait after the caller stops speaking before the agent responds. |
max_endpointing_delay | number | 2.0 | Maximum seconds to wait when the caller pauses mid-sentence. |
vad_min_silence_duration | number | (system default) | Minimum silence duration in seconds for Voice Activity Detection. Omit to use the system default. |
sip:extension@hostnametel:+1XXXXXXXXXX"Transfer to +15551234567 if the caller asks for billing support. Transfer to +15559876543 for technical issues."["[email protected]", "[email protected]"]null to revert to the account’s default email server.Use the List Email Servers endpoint to retrieve available IDs.en-US - English (US)es-US - Spanish (US)multi - Multilingual (English, Spanish, French, German, Hindi, Russian, Portuguese, Japanese, Italian, Dutch)"America/New_York", "Europe/London", "Asia/Tokyo"["https://example.com/faq", "https://example.com/pricing"]word — The word or name (1–100 characters)phonemes — The IPA phoneme string[] to clear all pronunciation rules.Example:| Property | Type | Description |
|---|---|---|
enable_recording | boolean | Enable call recording |
user_timezone | string | IANA timezone (e.g., America/New_York) |
inactivity_timeout | number | Seconds before inactivity prompt |
ambient_type | string | Type of ambient background audio |
ambient_volume | number | Volume level for ambient audio |
thinking_sounds_enabled | boolean | Enable thinking/processing sounds during pauses |
thinking_volume | number | Volume level for thinking sounds |
thinking_clip_id | string | Sound clip to play while the agent is thinking. KEYBOARD_TYPING (default) or KEYBOARD_TYPING2 |
background_audio_enabled | boolean | Enable background audio during calls |
summary_context | string | Additional instructions for the AI-generated call summary. Use this to tell the summary what to focus on or what data to extract (e.g., "Focus on customer complaints. Extract any mentioned order numbers."). |
before_call - Execute before the agent answersduring_call - Execute while call is activeafter_call - Execute after call endsupdated_at timestamp is automatically set to the current timeprovider field cannot be changed after creation