Autorización
string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.
Body
string
default:"John Doe"
required
Name of the agent.
string
default:"Tech Corp"
Name of the business the agent represents.
string
default:"auto-pilot"
Mode of operation - OFF, SUGGESTIVE, or AUTO_PILOT Posibles valores: ‘off’, ‘suggestive’, ‘auto-pilot’
string[]
Communication channels the agent can operate on
boolean
default:"True"
Indicates if this agent is a primary agent.
number
default:"2"
Wait time before agent responds (max 5 for minutes, 300 for seconds)
string
default:"seconds"
Unit for wait time - SECONDS or MINUTES Posibles valores: ‘minutes’, ‘seconds’
boolean
default:"False"
Indicates if sleep functionality is enabled.
number
default:"2"
Duration of sleep period (required if sleepEnabled is true). Set to null for indefinite sleep. (max 2880 for minutes, 172800 for seconds, 48 for hours)
string
default:"hours"
Unit of sleep time - HOURS, MINUTES, or SECONDS (required if sleepEnabled is true). Set to null for indefinite sleep. Posibles valores: ‘hours’, ‘minutes’, ‘seconds’
string
default:"Friendly and helpful"
required
Personality traits of the agent.
string
default:"Assist customers with inquiries."
required
The goal of the agent.
string
default:"Provide customer service."
required
Instructions for the agent.
number
default:"75"
Maximum number of messages in auto-pilot mode before requiring human intervention. (max: 100, min: 1)
string[]
Array of knowledge base IDs associated with this agent.
boolean
default:"True"
Allow agent to respond to images
boolean
default:"True"
Allow agent to respond to audio
boolean
default:"False"
Enable sleep when a manual outbound message is sent.
boolean
default:"False"
Enable sleep when a workflow outbound message is sent.
Respuestas
201 - Successful response
201 - Successful response
string
default:"emp_123"
required
Unique identifier for the agent.
string
default:"John Doe"
required
Name of the agent.
string
default:"Tech Corp"
Name of the business the agent represents.
string
default:"auto-pilot"
required
Current operating mode of the agent. Posibles valores: ‘off’, ‘suggestive’, ‘auto-pilot’
string[]
required
Communication channels the agent operates on.
number
default:"30"
required
Wait time before agent responds.
string
default:"seconds"
required
Unit for wait time. Posibles valores: ‘minutes’, ‘seconds’
boolean
default:"False"
required
Indicates if sleep functionality is enabled.
number
default:"2"
Duration of sleep period.
string
default:"hours"
Unit of sleep time. Posibles valores: ‘hours’, ‘minutes’, ‘seconds’
object[]
required
List of actions associated with this agent.
boolean
default:"False"
required
Indicates if this agent is a primary agent.
number
default:"25"
required
Maximum number of messages in auto-pilot mode before requiring human intervention.
string
default:"Assist customers with inquiries"
The goal of the agent.
string
default:"Friendly and helpful"
Personality traits of the agent.
string
default:"Provide excellent customer service"
Instructions for the agent.
string[]
Array of knowledge base IDs associated with this agent.
boolean
default:"False"
Whether the bot sleeps on manual outbound messages.
boolean
default:"False"
Whether the bot sleeps on workflow outbound messages.
400 - Bad Request
400 - Bad Request
422 - Unprocessable Entity
422 - Unprocessable Entity

