Skip to main content
PUT
Update Agent
Update a voice agent through its draft and publish the resulting configuration.

Authentication

string
requerido
Organization API key. Keep it on your server or in a credential store.
This endpoint publishes the updated configuration. It is not a draft-only save. Retrieve the agent first and send only intended changes. Review open draft work before an API update.
string
requerido
Agent ID in your organization.

Body

All fields are optional. The create-agent fields are accepted, plus start_speaker (agent or user).
string
Internal name.
string
ID from List voices.
string
IANA time zone, such as America/Mexico_City.
string
In-call name.
string
Supported language code, such as en-US, es-ES, es-419, or multi (Spanish and English).
string
Conversation objective.
string
Instructions, up to 28,000 characters.
string
Outgoing webhook URL.
string
coffee-shop, convention-hall, summer-outdoor, mountain-outdoor, static-noise, or call-center.
number
API range 0.5–2; the app slider exposes a narrower range.
number
0–2.
number
0–2.
number
0–2.
number
0–1.
number
0.1–1.
string
Opening phrase, up to 240 characters.
number
0–5,000 milliseconds.
number
Requested maximum call duration in milliseconds, subject to plan limits.
string[]
Terms to improve recognition.
object[]
Extraction definitions with string, enum, boolean, or number type.
object[]
Tool definitions: booking, transfer_call, custom, end_call, or agent_swap. Use the schema for the selected tool type; changing an array can replace its configuration.

Response

number
HTTP response status.
string
ContactShip agent ID, used in agent and call endpoints.
string
Internal name.
string
In-call name.
string
Instructions.
string
Conversation objective.
string
Voice ID.
string
Configured language code.
string
IANA time zone.
object[]
Configured tool definitions.
object[]
Extraction fields.
string
Outgoing call webhook URL.
string
Creation timestamp.
string
Update timestamp.
The response also includes configured voice/conversation values such as volume, voice_speed, voice_temperature, responsiveness, interruption_sensitivity, ambient_sound, ambient_sound_volume, begin_message, begin_message_delay_ms, max_call_duration_ms, start_speaker, and boosted_keywords.