Get WebSocket authentication token
GET/v1/user/ws-token
Returns a short-lived token (30 seconds) for WebSocket authentication. This endpoint is needed because HTTP-only cookies aren't reliably sent with WebSocket upgrade requests. The token should be used immediately to establish a WebSocket connection.
Responses
- 200
- 401
WebSocket token generated successfully
Unauthorized