Updates an existing AI agent’s configuration. All fields in the agent configuration can be updated including name, status, actions, and behavior settings.
Access Token or Private Integration Token
API Version
2021-04-15 Conversations AI agent id
Name of the agent.
"John Doe"
Name of the business the agent represents.
"Tech Corp"
Mode of operation for the agent, required if primary is enabled.
off, suggestive, auto-pilot Channels the agent can use.
IG, FB, SMS, WebChat, WhatsApp, Live_Chat Indicates if this agent is a primary agent.
true
Wait time before agent responds (max 5 for minutes, 300 for seconds).
30
Unit for wait time - SECONDS or MINUTES
minutes, seconds "seconds"
Indicates if sleep functionality is enabled.
false
Sleep time in the specified unit, required if sleepEnabled is true. (max 2880 for minutes, 172800 for seconds, 48 for hours)
10
Unit of sleep time, required if sleepEnabled is true.
hours, minutes, seconds Personality traits of the agent.
"You re an AI assistant and you are friendly and helpful"
The goal of the agent.
"You are an AI assistant and you are helping customers with inquiries."
Instructions for the agent.
"Provide excellent customer service."
Array of knowledge base IDs associated with this agent.
Allow agent to respond to images
true
Allow agent to respond to audio
true
Successful response
Unique identifier for the agent.
"emp_123"
Name of the agent.
"John Doe"
Current operating mode of the agent.
off, suggestive, auto-pilot "auto-pilot"
Communication channels the agent operates on.
IG, FB, SMS, WebChat, WhatsApp, Live_Chat ["SMS", "Live_Chat"]Wait time before agent responds.
30
Unit for wait time.
minutes, seconds "seconds"
Indicates if sleep functionality is enabled.
false
List of actions associated with this agent.
Indicates if this agent is a primary agent.
false
Maximum number of messages in auto-pilot mode before requiring human intervention.
25
Name of the business the agent represents.
"Tech Corp"
Duration of sleep period.
2
Unit of sleep time.
hours, minutes, seconds "hours"
The goal of the agent.
"Assist customers with inquiries"
Personality traits of the agent.
"Friendly and helpful"
Instructions for the agent.
"Provide excellent customer service"
Array of knowledge base IDs associated with this agent.
["kb_123", "kb_456"]