---
title: "Get the current user"
method: GET
path: "/user"
tags: ["User"]
---

# Get the current user

`GET /user`

Returns the account associated with the bearer token, including preferences and account status.

## Response `200`

Successful operation

- User
  - `login` string — User login
  - `email` string, email — User email address
  - `balance` integer — User balance in cents (100$ = 10000)
  - `portsCount` integer — Total ports number
  - `portsLimit` integer — Maximum allowed ports number
  - `discountPercent` integer — User discount in percentage
  - `preferences` UserPreferences
    - `vpnServer` string, host — Default server hostname to connect via OpenVPN
    - `proxyServer` string, host — Default server hostname to connect via proxy
    - `proxyProtocol` 'http' | 'https' | 'socks5' — Default proxy protocol

## Other responses

- `401` — The bearer token is missing, invalid, or no longer active.
- `429` — The configured request limit has been exceeded.

---

[API](https://skmtc.dev/ltesocks/apis/ltesocks-public-api.md) · [All operations](https://skmtc.dev/ltesocks/apis/ltesocks-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ltesocks/ltesocks-public-api/revisions/27dffb3c08b9/schema)
