Creates a new AI agent for the account. The agent will be created with the specified configuration including name, role, actions, and behavior settings.Documentation Index
Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version de la API.
Body
Name of the agent.
Name of the business the agent represents.
Mode of operation - OFF, SUGGESTIVE, or AUTO_PILOT Posibles valores: ‘off’, ‘suggestive’, ‘auto-pilot’
Communication channels the agent can operate on
Indicates if this agent is a primary agent.
Wait time before agent responds (max 5 for minutes, 300 for seconds)
Unit for wait time - SECONDS or MINUTES Posibles valores: ‘minutes’, ‘seconds’
Indicates if sleep functionality is enabled.
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)
Unit of sleep time - HOURS, MINUTES, or SECONDS (required if sleepEnabled is true). Set to null for indefinite sleep. Posibles valores: ‘hours’, ‘minutes’, ‘seconds’
Personality traits of the agent.
The goal of the agent.
Instructions for the agent.
Maximum number of messages in auto-pilot mode before requiring human intervention. (max: 100, min: 1)
Array of knowledge base IDs associated with this agent.
Allow agent to respond to images
Allow agent to respond to audio
Enable sleep when a manual outbound message is sent.
Enable sleep when a workflow outbound message is sent.
Respuestas
201 - Successful response
201 - Successful response
Unique identifier for the agent.
Name of the agent.
Name of the business the agent represents.
Current operating mode of the agent. Posibles valores: ‘off’, ‘suggestive’, ‘auto-pilot’
Communication channels the agent operates on.
Wait time before agent responds.
Unit for wait time. Posibles valores: ‘minutes’, ‘seconds’
Indicates if sleep functionality is enabled.
Duration of sleep period.
Unit of sleep time. Posibles valores: ‘hours’, ‘minutes’, ‘seconds’
List of actions associated with this agent.
Indicates if this agent is a primary agent.
Maximum number of messages in auto-pilot mode before requiring human intervention.
The goal of the agent.
Personality traits of the agent.
Instructions for the agent.
Array of knowledge base IDs associated with this agent.
Whether the bot sleeps on manual outbound messages.
Whether the bot sleeps on workflow outbound messages.
400 - Bad Request
400 - Bad Request
401 - Unauthorized
401 - Unauthorized
422 - Unprocessable Entity
422 - Unprocessable Entity

