WebSocket API



  • Navigate to Settings -> WebSocket Server in Speaker.bot

Auto Start

  • Type: Boolean
  • Default: false

Enable this flag to automatically start the WebSocket Server when Speaker.bot is launched.

If this is not enabled, you must manually click the Start Server button any time you want to enable WebSocket connectivity.


  • Type: String
  • Default:

Change the WebSocket Server host address.

This can be useful if you want to expose the WebSocket server to additional machines on your local network, or even over the internet.


  • Type: Number
  • Default: 7680

Change the WebSocket Server port.

It is not recommended to change this unless you have another service using this port or know what you are doing.


  • Type: String
  • Default: /

Change the WebSocket Server endpoint.

This will change the URL endpoint used to connect to the server, e.g.

Request Format

All WebSocket Server requests follow a similar format, which is also used by Streamer.bot.

Request Format
  "id": "<id>",
  "request": "<command>"


  • Type: String

Any identifier or nonce you wish to use to identify your request.


  • Type: String

The name of the supported request.

All supported requests are documented on the next page.