> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whitebit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authorize

> Authorize a WebSocket connection to subscribe to private account data streams on WhiteBIT.

Authorize the WebSocket connection for private channel access. Send a WebSocket token obtained from the REST API. This channel handles WebSocket connection authorization. Authorize once per connection — all private channels become accessible after a single successful authorization.

<Note>Connect to `wss://api.whitebit.com/ws` — see [WebSocket Overview](/websocket/overview) for protocol details and keepalive requirements.</Note>

## Rate limits

## Authorization flow

**Step 1 — Get a WebSocket token**

Call the REST endpoint to obtain a short-lived token:

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
POST /api/v4/profile/websocket_token
```

See [WebSocket Authentication](/websocket/authentication) for the full flow including request signing.

**Step 2 — Send authorization request**

**Step 3 — Receive confirmation**

The connection is authorized. Subscribe to any private channel on the same connection.

<Note>
  Authorization is per connection, not per subscription. Authorize once, then subscribe to as many private channels as needed on the same WebSocket connection.
</Note>

## Update frequency

Client-initiated. Send an `authorize` request after each new WebSocket connection.

## Error codes
