internal

User Realtime Access

Authorize a WebSocket subscription to a user:{user_id} Y.Doc.

Used by Hocuspocus to gate the user-scoped notifications channel. Allowed iff the Stytch token resolves to the same internal user as the requested document — i.e. user A can only subscribe to user:A.

post/internal/user-realtime-access

Request

  • Base URL
    https://stardrift.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://stardrift.ai/internal/user-realtime-access
  • Auth
    none declared

Request body

tokenstring required
user_idstring required

Response

Successful Response

user_idstring required

Changes

No recorded changes to this operation across all 34 revisions of this API.