Creates a new AI agent for the location. The agent will be created with the specified configuration including name, role, actions, and behavior settings.
Access Token or Private Integration Token
API Version
2021-04-15 Name of the agent.
"John Doe"
Personality traits of the agent.
"Friendly and helpful"
The goal of the agent.
"Assist customers with inquiries."
Instructions for the agent.
"Provide customer service."
Name of the business the agent represents.
"Tech Corp"
Mode of operation - OFF, SUGGESTIVE, or AUTO_PILOT
off, suggestive, auto-pilot "auto-pilot"
Communication channels the agent can operate on
IG, FB, SMS, WebChat, WhatsApp, Live_Chat ["SMS", "Live_Chat", "WhatsApp"]Indicates if this agent is a primary agent.
true
Wait time before agent responds (max 5 for minutes, 300 for seconds)
2
Unit for wait time - SECONDS or MINUTES
minutes, seconds "seconds"
Indicates if sleep functionality is enabled.
false
Duration of sleep period (required if sleepEnabled is true). (max 2880 for minutes, 172800 for seconds, 48 for hours)
2
Unit of sleep time - HOURS, MINUTES, or SECONDS (required if sleepEnabled is true)
hours, minutes, seconds "hours"
Maximum number of messages in auto-pilot mode before requiring human intervention. (max: 25, min: 1)
25
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"]