通过JWT获取已认证的用户的详细信息。
确定
被禁止
被禁止
未找到
curl --request GET \ --url https://login.xsolla.com/api/users/me \ --header 'Authorization: Bearer BEARER_TOKEN'
{- "birthday": "1995-01-05",
- "country": "USA",
- "devices": [
- {
- "device": "Xiaomi Redmi 9 Pro",
- "last_used_at": "2017-01-01T10:00:00+0000",
- "type": "android"
}, - {
- "device": "iPhone 10",
- "last_used_at": "2017-01-01T10:00:00+0000",
- "type": "ios"
}
], - "email": "johny-doe@example.com",
- "external_id": "123",
- "first_name": "John",
- "gender": "m",
- "groups": [
- {
- "id": 1,
- "is_default": false,
- "name": "admin"
}, - {
- "id": 5,
- "is_default": true,
- "name": "user"
}
], - "id": "11",
- "is_anonymous": false,
- "last_login": "2018-05-17T11:22:52+0000",
- "last_name": "Doe",
- "nickname": "Johny",
- "phone": "+79136759832",
- "phone_auth": "79136759832",
- "registered": "2017-01-01T00:00:00+0000",
- "tag": "234125",
- "username": "Johny200"
}