HTTP API
The System Bridge HTTP API for simple request/response reads, and when to use the WebSocket API instead.
The HTTP API handles simple request/response reads: confirming the backend is running and fetching a module’s current data. For everything else, use the WebSocket API, which is the primary interface and covers most operations: live data, input, media and power control, notifications, settings, and commands.
Base URL
By default the backend listens on port 9170, so the base URL is:
http://{host}:9170
Replace {host} with the hostname or IP address of the machine running System Bridge. The port can be changed with the SYSTEM_BRIDGE_PORT environment variable.
Endpoints
Status and health
Confirm the backend is running. No key required.
Data
Fetch a module’s current data on demand.
Media file data
Download a media file by base directory and path.
Events
Send one WebSocket event, such as locking the computer.
Keys
List, make and remove keys, and trade the API token for one.
Pairing
Give a phone its own key through a one-time code.
Push
Subscribe a phone or browser to pushes.
Releases
Get the newest releases and their notes.