# User API

## GET /v1/users/me

> Get logged-in user information

```json
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://dex-api.benpay.com","description":"Default Server URL"}],"paths":{"/v1/users/me":{"get":{"tags":["user-api-controller"],"summary":"Get logged-in user information","operationId":"me","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserBean"}}}}}}}},"components":{"schemas":{"ApiResponseUserBean":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was successful"},"data":{"$ref":"#/components/schemas/UserBean"},"error":{"type":"string","description":"Error code if request failed"},"errorField":{"type":"string","description":"Field in error if request failed"},"errorMessage":{"type":"string","description":"Detailed error message if request failed"}}},"UserBean":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"level":{"type":"integer","format":"int32"},"type":{"$ref":"#/components/schemas/UserType"},"address":{"type":"string"}},"description":"Response data, null if request failed"},"UserType":{"type":"string","description":"User type: TRADER=Normal user, MANAGER=Admin, ROOT=Super admin","enum":["MANAGE","UI","WALLET","SPOTS_TRADING_API","CONTRACTS_TRADING_API","WALLET_DEBT","TRANSFER_HOLDER","FEE","INSURANCE","PNL","MANAGER","ROOT","TRADER","ORGANIZATION"]}}}}
```
