API Reference
StreamCTL exposes a JSON REST API for creating live streams, playout channels, schedules, profiles, monitoring probes, backups, and license operations. The dashboard is built on this API — anything the UI can do, the API can do.
Fresh installs create /etc/streamctl/api-token and require Authorization: Bearer <token> for API requests. Set the token below once and every generated example will include the bearer header. Leave it empty to use the STREAMCTL_TOKEN environment variable in code samples.