Skip to main content
Update an existing action for a voice AI agent. Modifies the behavior and configuration of an agent action.

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.

Path parameters

string
required
Unique identifier for the action

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