Skip to main content
GET
/
oauth2
/
userinfo
cURL
curl --request GET \
  --url https://discord.com/api/v10/oauth2/userinfo \
  --header 'Authorization: <api-key>'
{
  "sub": "<string>",
  "email": "<string>",
  "email_verified": true,
  "preferred_username": "<string>",
  "nickname": "<string>",
  "picture": "<string>",
  "locale": "<string>"
}

Authorizations

Authorization
string
header
required

Discord bot token

Response

200 response for get_openid_connect_userinfo

sub
string
required
email
string | null
email_verified
boolean
preferred_username
string
nickname
string | null
picture
string
locale
string