v1

latestSwagger 2.0BSD 3-Clause2026-07-1720953437.1 KB
botActions

Update botAction (partial)

Update botAction fields

patch/botActions/{key}

Path parameters

keystring required

The id or name of the botAction to retrieve

Request body

namestring

Name of the botAction

isPendingboolean

If the botAction is active

parametersobject[]

Array of objects that contain the name of actions a botAction can take and an array of parameters needed for that action

responseobject

A JSON field that contains the output of an action

roomIdinteger

The room in which this action is in reference with

botIdstring

The bot of which this action is in reference with

userIdstring

The user of which this action is in reference with

ownerstring

The name of the user to assign as the owner. Defaults to the user that created it

Response

Updated field

idstring

The UUID of the specified bot action

namestring

The name of the bot action requested

isPendingboolean

If the action is still pending completion

parametersobject[]

The values required to run a bot action

responseobject

The output of an bot action

roomIdinteger

The room ID in which the bot action deals with

botIdstring

The bot ID in which the bot action deals with

userIdstring

The user ID in which the bot action deals with