Update Agent
Update an AI voice agent’s configuration.
Modify any combination of the agent’s settings: system prompt, voice, greeting, transfer number, or voicemail message. Changes take effect on the next call the agent handles. Only include the fields you want to change — unset fields are preserved.
Authorizations
AgentLine API key. Get one via the email OTP flow (POST /v1/auth/otp then POST /v1/auth/verify). Pass as: Authorization: Bearer sk_live_...
Path Parameters
Body
New display name for the AI voice agent
Updated default instructions for ALL future calls (does not affect calls already in progress)
Updated default greeting for ALL future calls (inbound and outbound)
New TTS voice preset name or Cartesia voice UUID
Updated transfer phone number in E.164 format
Updated voicemail message
Updated owner phone number in E.164 format for task mode
Response
Successful Response