private-thread-{id} subscription. Direct tokens can only subscribe to their own threads.
If Pusher is not configured on the workspace’s API, enabled is false and you poll GET /v1/loom/runs/:id instead. @usepatchwork/react does this automatically.
Config
GET /v1/loom/realtime/config
boolean
required
Whether the server will publish thread events.
string
Public Pusher key. Never a secret.
string
Pusher cluster.
Authorize
POST /v1/loom/realtime/auth
403 if the token does not own the thread.
Channel name must be private-thread- plus the thread UUID.
Endpoints
- Realtime config —
GET /v1/loom/realtime/config - Authorize a realtime channel —
POST /v1/loom/realtime/auth