User

Get the current user

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

get/user

Response

Successful operation

loginstring

User login

emailstring email

User email address

balanceinteger

User balance in cents (100$ = 10000)

portsCountinteger

Total ports number

portsLimitinteger

Maximum allowed ports number

discountPercentinteger

User discount in percentage

Example response

{
  "login": "user",
  "email": "user@example.com",
  "balance": 10000,
  "portsCount": 3,
  "portsLimit": 10,
  "discountPercent": 10,
  "preferences": {
    "vpnServer": "vpn1.ltesocks.io",
    "proxyServer": "ap1.ltesocks.io",
    "proxyProtocol": "socks5"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.