GET
/
v1
/
userinfo
Retrieve User Information
curl --request GET \
  --url https://auth.sandbox.midaz.io/v1/userinfo \
  --header 'Authorization: <authorization>'
{
"email": "john@example.com",
"emailVerified": true,
"name": "John Doe",
"picture": "https://example.com/picture.jpg",
"preferredUsername": "johndoe",
"profile": "https://example.com/profile",
"sub": "00000000-0000-0000-0000-000000000000"
}

Headers

Authorization
string
required

Authorization Token.

Response

Indicates that the resource was successfully created and the operation was completed as expected.

Contains basic identity details for the authenticated user — useful for personalization, display, or authorization logic.

email
string

User's email address.

emailVerified
boolean

Indicates whether the email has been verified (true if verified).

name
string

Full name of the user.

picture
string

URL of the user's profile image.

preferredUsername
string

The name that will be displayed to the user.

profile
string

URL to the user's profile page.

sub
string

Unique identifier for the user (subject claim).