Identity
Use `POST /v1/auth/register`, `POST /v1/auth/login`, and `GET /v1/me` to manage dashboard users and workspace identity.
Beam SaaS Ecosystem
Beam now has a SaaS control layer over the relay protocol: users register into workspaces, receive roles and API keys, create public or private streams, attach sources, and manage layout metadata for multi-user publishing.
Use `POST /v1/auth/register`, `POST /v1/auth/login`, and `GET /v1/me` to manage dashboard users and workspace identity.
Workspace roles are `owner`, `admin`, `producer`, `streamer`, and `viewer`. Stream management requires owner, admin, producer, or a workspace API key.
Streams are `private` by default. Public streams appear through `GET /v1/streams/public`; private streams require a workspace token or join token.
Supported source metadata includes `screen`, `window`, `camera`, `microphone`, `game`, and `external` so a stream can represent desktop, browser, camera, or app-owned media.
Layout metadata supports `single`, `horizontal`, `vertical`, `grid`, and `focus`, with source ids for multi-user or multi-device viewing surfaces.
The desktop companion has a Streams tab for dashboard handoff, visibility planning, source selection, and layout planning. The browser SDK covers web games, camera streams, canvas capture, and app-owned media streams.
POST /v1/auth/register
POST /v1/streams # visibility: public | private
POST /v1/streams/{id}/sources # screen, camera, game, external
POST /v1/streams/{id}/layout # horizontal, vertical, grid, focus
GET /v1/streams/public # public stream directory
GET /v1/streams/realtime # WebSocket signaling for browser publishers/viewers
/sdk/beam-stream.js so websites, apps, and games can integrate Beam without repo-local assets.