Get user info

Get user info

GET /api/v1/oauth2/user/userinfo

Headers

NameTypeDescription

Access-Token*

String

access token

{
    "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
}

Last updated