Updates an existing action's configuration — name, description, trigger condition and behaviour settings. For customApi ("API Call") actions details.apiConfig is optional: omit it to leave the HTTP definition untouched. When sent, it is merged ONE LEVEL DEEP over the stored config — a top-level key you send replaces the stored value outright, keys you omit are kept. Nested values (headers, queryParams, bodyTemplate, parameters, outputFields) are replaced whole, so send the complete object rather than just the entry you changed. authentication is the exception: secret fields omitted, or returned as the redacted placeholder, keep the stored secret.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
The unique identifier of the action ID Attached to the agent
Example:6578278e879ad2646715ba9c
agentIdstringrequired
The unique identifier of the AI agent
Example:ve9EPM428h8vShlRW1KT
Body
application/json
typestringrequired
Type of action to perform
Available optionstriggerWorkflowupdateContactFieldappointmentBookingstopBothumanHandOveradvancedFollowuptransferBotcustomApi
Example:triggerWorkflow
namestringrequired
Name of the action (3-50 characters)
Example:Trigger a Workflow
detailsobjectrequired
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, for TRANSFER_BOT use transferBotDto, and for CUSTOM_API use CustomApiDetailsDTO (the API Call config).
Example
{"workflowIds":["workflow123"],"triggerCondition":"When user requests appointment"}
oneOf
triggerWorkflowDto
updateContactFieldDto
appointmentBookingDto
stopBotDto
humanHandOverDto
advancedFollowupDto
transferBotDto
CustomApiDetailsDTO
details.workflowIdsstring[]required
Array of workflow IDs to trigger
Example:["workflow123","workflow456"]
details.triggerConditionstringrequired
Condition that triggers the workflow
Example:When user requests appointment
details.triggerMessagestring
Optional message to send when triggering the workflow
Example:Workflow triggered successfully
Response
application/json
Successful response
dataobjectrequired
Updated action details (classic action or customApi API Call action)
oneOf
ActionDataDTO
CustomApiActionDataDTO
data.idstringrequired
Unique identifier for the action
Example:actionId123
data.namestringrequired
Name of the action
Example:Trigger Workflow
data.typestringrequired
Type of the action
Available optionstriggerWorkflowupdateContactFieldappointmentBookingstopBothumanHandOveradvancedFollowuptransferBotcustomApi
Example:triggerWorkflow
data.agentIdstring
Agent ID where the action belongs
Example:agentId123
data.detailsobjectrequired
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.
oneOf
triggerWorkflowDto
updateContactFieldDto
appointmentBookingDto
stopBotDto
humanHandOverDto
advancedFollowupDto
transferBotDto
data.details.workflowIdsstring[]required
Array of workflow IDs to trigger
Example:["workflow123","workflow456"]
data.details.triggerConditionstringrequired
Condition that triggers the workflow
Example:When user requests appointment
data.details.triggerMessagestring
Optional message to send when triggering the workflow