# Get user info

## Get user info

<mark style="color:blue;">`GET`</mark> `/api/v1/oauth2/user/userinfo`

#### Headers

| Name                                           | Type   | Description  |
| ---------------------------------------------- | ------ | ------------ |
| Access-Token<mark style="color:red;">\*</mark> | String | access token |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    "code": 200,
    "data": {
        "avatar": "https://metis-middleware-us-east-2.s3.amazonaws.com/057a151e83f948d587f0fd10f0e68525",
        "display_name": "display name",
        "email": "xx@xx.com",
        "eth_address": "0x14A30580CC7555F1DBE4A36E8B79582e85c4B330",
        "last_login_time": 1666285419898,
        "openid": "04bf5e8e7b7a4f9b9905984d0fdfdf7f",
        "update_time": 1663867028266,
        "user_type": "discord",
        "username": "username",
        "wallet_type": "POLIS"
    },
    "message": "",
    "msg": "",
    "msgTitle": null
}
```

{% endtab %}
{% endtabs %}
