Skip to main content
POST
Authorize a realtime channel

Authorizations

Authorization
string
header
required

Identify accepts a workspace API key (sk_…). Loom accepts either a short-lived session token (direct) or a workspace API key (relay).

Headers

Idempotency-Key
string

Makes this POST safe to retry. The first call does the work and its response is stored; a retry with the same key returns that stored response with Idempotency-Replayed: true, without charging again. Same key with a different body is rejected. Keys expire after 24 hours.

Maximum string length: 255

Body

application/json
channel_name
string
required
Example:

"private-thread-3fa85f64-5717-4562-b3fc-2c963f66afa6"

socket_id
string
required

Response

Channel authorization payload from Pusher.