Skip to main content
GET
https://{yourDomain}
/
userinfo
Get User Info
curl --request GET \
  --url https://{yourDomain}/userinfo \
  --header 'Authorization: Bearer <token>'
{
  "sub": "auth0|507f1f77bcf86cd799439011",
  "name": "Jane Doe",
  "given_name": "Jane",
  "family_name": "Doe",
  "nickname": "jane",
  "email": "jane.doe@example.com",
  "email_verified": true,
  "picture": "https://s.gravatar.com/avatar/abc123.png",
  "updated_at": "2023-11-15T14:30:00.000Z"
}

Authorizations

Authorization
string
header
required

Access token obtained from the authentication flow

Response

User information retrieved successfully

sub
string
required

The user's unique identifier (subject)

name
string

The user's full name

given_name
string

The user's given (first) name

family_name
string

The user's family (last) name

middle_name
string

The user's middle name

nickname
string

The user's nickname

preferred_username
string

The user's preferred username

profile
string<uri>

URL of the user's profile page

picture
string<uri>

URL of the user's profile picture

website
string<uri>

URL of the user's website

email
string<email>

The user's email address

email_verified
boolean

Whether the user's email address has been verified

gender
string

The user's gender

birthdate
string<date>

The user's birthday

zoneinfo
string

The user's time zone

locale
string

The user's locale

phone_number
string

The user's phone number

phone_number_verified
boolean

Whether the user's phone number has been verified

address
object

The user's address

updated_at
string<date-time>

Time the user's information was last updated