Skip to main content
Create a new action for a voice AI agent. Actions define specific behaviors and capabilities for the agent during calls.

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:"507f1f77bcf86cd799439011"
required
Agent ID to attach the action to
string
default:"507f1f77bcf86cd799439012"
required
Account ID
string
default:"CALL_TRANSFER"
required
Type of action Posibles valores: ‘CALL_TRANSFER’, ‘DATA_EXTRACTION’, ‘IN_CALL_DATA_EXTRACTION’, ‘WORKFLOW_TRIGGER’, ‘SMS’, ‘APPOINTMENT_BOOKING’, ‘CUSTOM_ACTION’, ‘KNOWLEDGE_BASE’
string
default:"Transfer to Manager"
required
Human-readable name for this action
object
required
Action parameters - structure varies by actionType

Respuestas

string
default:"507f1f77bcf86cd799439011"
required
Unique identifier for the created action
string
default:"CALL_TRANSFER"
required
Type of action Posibles valores: ‘CALL_TRANSFER’, ‘DATA_EXTRACTION’, ‘IN_CALL_DATA_EXTRACTION’, ‘WORKFLOW_TRIGGER’, ‘SMS’, ‘APPOINTMENT_BOOKING’, ‘CUSTOM_ACTION’, ‘KNOWLEDGE_BASE’
string
default:"Transfer to Manager"
required
Human-readable name for this action
object
required
Action parameters - structure varies by actionType

Ejemplo