Skip to main content
PATCH
This endpoint is for the VIP plan only. Other plans get a 403. See Plan access.
Update an agent’s details. All fields are optional - only provided fields will be updated.

Path Parameters

string
required
The unique UUID of the Agent

Common Fields

string
Agent name (1-255 characters)
boolean
Whether the agent is active
string
System prompt for the agent
string
Agent language. Valid values: english, spanish, french, german, portuguese, dutch, chinese, japanese
string
deprecated
Deprecated and ignored. An agent has no direction — its number both answers and places calls. Still accepted on Voice agents so existing integrations keep working, but it does not change the agent. Sending it on a Chat or Widget agent is still rejected.

Settings for every agent type

string
How the agent sounds. One of Friendly, Casual, Neutral, Direct, Professional, Humorous.
string
How long its answers are. One of Concise, Standard, Thorough.
boolean
Tell the contact they are talking to an AI.
object
The AI disclosure line for each language, like { "english": "You are talking to an AI assistant." }. An empty line is dropped. null uses the default line.

Type-Specific Fields

A field from another agent type’s tab gets a 400 that names the field.
string
Opening line the agent says when starting a conversation
string
Voice ID for text-to-speech
boolean
Enable voicemail detection. Applies to calls the agent places.
string
Message to leave on voicemail
boolean
Enable background sound
boolean
When this is enabled, no logs, recordings, or transcriptions will be stored
integer
Maximum call duration in minutes, 1-60
number
Voice speed multiplier, 0.5-1.5
string
URL to receive a POST request after each conversation ends. The payload includes the transcript, summary, outcome, duration, contact details, and extracted fields. Set to null to disable. See the Post-conversation webhook page for the full payload.
Ask the caller to agree to recording.
The recording consent line for each language. null uses the default line.
The key a caller presses to say no to recording: one digit, * or #.
object
The disclosure line for each language when the agent speaks in a cloned voice.
string
deprecated
Deprecated. Use postConversationWebhookUrl instead. Still accepted on input for backwards compatibility; responses always use the new field.