DoAction

Trigger an action in Streamer.bot via HTTP

/DoAction
POST
Request body application/json
// Content-Type: application/json
{
  "action": {
    "id": "<guid>",
    "name": "<name>"
  },
  "args": {
    "key": "value"
  }
}
action
object required
The Streamer.bot action to trigger, identified by its GUID or name.
args
Dictionary<string, object>
Optional arguments to pass to the action as key-value pairs.

204 No Content

curl -X POST http://127.0.0.1:7474/DoAction \
  -H "Content-Type: application/json" \
  -d '{
    "action": {
      "id": "your-action-guid",
      "name": "Your Action Name"
    },
    "args": {
      "customArg": "customValue"
    }
  }'