The User object is used to gain context into Discord users, including information such as username, ID, and avatar hash.
User Object
Same as discord user object.
User Example
{
"username": "johnyburd",
"locale": "en-US",
"mfa_enabled": true,
"flags": 0,
"avatar": "9ce5a006548f1ae3e5c8fb91a4d677e4",
"discriminator": "1022",
"id": "214037134477230080"
}
Identify Current User
v1 Rest API
GET/identify
Requires authenticationReturn the user currently logged in.
Get User by ID
v1 Rest API
GET/user/{user.id}
Return a user object.
Last modified 2 years ago Edit this page on GitHub