Agents
Update Agent
Update an existing AI agent’s configuration
POST
Update any configuration fields for an existing AI agent. Only include fields you want to change.
Request Body
string
required
The unique identifier of the agent to update.
string
Agent display name (max 100 characters).
string
Message spoken when answering calls (max 500 characters).
string
Instructions defining the agent’s behavior (max 10,000 characters).
string
Voice for phone calls. Use the List Voices endpoint to get all available options, including any cloned voices on your account.ElevenLabs voices:
OpenAI voices (prefix
openai-):string
LLM model for conversation.
string
Language code (e.g.,
en-US, es-ES).integer
Maximum call duration in seconds (60 to 3600).
array
Phrases that trigger call termination.
string
Phone number for call transfers.
boolean
Enable or disable the agent.
object
Configuration for agent functions. See Create Agent for full schema.Example - Enable transfer with multiple numbers:Example - Configure end call:
array
Dynamic variables for extracting structured data from conversations. Replaces all existing variables for this agent.Each variable object:
name(string, required) — Variable name (e.g.,caller_name)description(string) — What to extractvar_type(string) —text(default),number,boolean, orenumenum_options(array) — Required whenvar_typeisenum
boolean
Enable caller memory — the agent remembers past conversations with each contact.
object
Configuration for caller memory. Only applies when
memory_enabled is true.boolean
Enable semantic memory — the agent finds similar past conversations across all contacts using AI embeddings.
object
Configuration for semantic memory. Only applies when
semantic_memory_enabled is true.Array of agent UUIDs that share memory with this agent. Allows multiple agents to access the same contact memories.
boolean
Whether calls handled by this agent are recorded. Defaults to
true. Set to false to disable recording for all calls routed to this agent (both inbound and outbound).