GET https://services.leadconnectorhq.com/conversation-ai/agents/{agentId}/actions/list
Authorization
Name
Type
Required
Example
Description
Authorization
string
Yes
Bearer token generated from the Leadway portal. See Authentication.
Version
string
Yes
2021-07-28
API version.
Path parameters
Name
Type
Required
Example
Description
agentId
string
Yes
Responses
200 - Success
data (object[], required): Grouped actions by type
id (string, required): Unique identifier for the action Example: actionId123
name (string, required): Name of the action Example: Trigger Workflow
type (string, required): Type of the action Possible values: 'triggerWorkflow', 'updateContactField', 'appointmentBooking', 'stopBot', 'humanHandOver', 'advancedFollowup', 'transferBot' Example: triggerWorkflow
agentId (string): Agent ID where the action belongs Example: agentId123
details (object, required): Action-specific details. The structure depends on the action type. For TRIGGER_WORKFLOW use triggerWorkflowDto, for UPDATE_CONTACT_FIELD use updateContactFieldDto, for APPOINTMENT_BOOKING use appointmentBookingDto, for STOP_BOT use stopBotDto, for HUMAN_HAND_OVER use humanHandOverDto, for ADVANCED_FOLLOWUP use advancedFollowupDto, and for TRANSFER_BOT use transferBotDto.
success (boolean, required): Success status of the request Example: True