Skip to main content
Authorize the WebSocket connection for private channel access. Send a WebSocket token obtained from the REST API. Authorization is required once per connection — all private channels can be used after a single successful authorization.

Authorization flow

Step 1 — Get a WebSocket token Call the REST endpoint to obtain a short-lived token:
POST /api/v4/profile/websocket_token
See WebSocket Authentication for the full flow including request signing. Step 2 — Send authorization request params[0] is the token. params[1] is the fixed string "public". Step 3 — Receive confirmation The connection is now authorized. Subscribe to any private channel on the same connection.
Authorization is per connection, not per subscription. Authorize once, then subscribe to as many private channels as needed on the same WebSocket connection.