Skip to main content
Patchwork owns the Pusher account. The client fetches public config, then asks us to sign a 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
Returns the Pusher authentication payload for that socket. 403 if the token does not own the thread. Channel name must be private-thread- plus the thread UUID.

Endpoints