Running a Command via REST API


The PhantomBot REST API provides a PUT method to produce text, and commands, in chat.

The following data is required in the Headers of the PUT request:

user: userid to use for running a command or posting a message
message: message or !command
webauth: webauth from botlogin.txt

An example using curl:

% curl -X PUT \
-H 'webauth: mywebauthkey' \
-H 'user: illusionarybot' \
-H 'message: !mods' \

event posted
Setting user points remotely by command line, HTTP, or API
Hotkeys for Triggering commands/functions
Websocket API Python Script
Executing a command/message over API loads into timeout
Youtube player pause button when ingame