agents
Update Agent
Changed onUpdate an agent's configuration.
Use this to change voice mode, system prompt, greeting, or voice. Switching voiceMode to "hosted" re-provisions the voice agent with built-in LLM.
patch/v1/agents/{agent_id}
Request
- Base URLhttps://api.agentphone.ai
- URLhttps://api.agentphone.ai/v1/agents/{agent_id}
- AuthHTTP bearer
Path parameters
agent_idstring required
Request body
Response
Successful Response
Changes
- warning
added the new
liveenum value to theresponse property for the response status - info
added the new optional request property
- info
added the new
liveenum value to the request property - info
added the optional property
to the response with the status
- warning
- warning
added the new
realtimeenum value to theresponse property for the response status - info
added the new
realtimeenum value to the request property
- warning