DoAction

Trigger an action in Streamer.bot via HTTP

Request

/DoAction
POST
Request body application/json
// Content-Type: application/json
{
  "action": {
    "id": "<guid>",
    "name": "<name>"
  },
  "args": {
    "key": "value"
  }
}

Parameters

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.

Response

204 No Content

Example

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"
    }
  }'