Zitadel Preview Docs

Get user info

GET
/auth/userinfo
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/auth/userinfo"
{  "sub": "string",  "name": "string",  "email": "user@example.com",  "preferred_username": "string",  "picture": "http://example.com",  "given_name": "string",  "family_name": "string"}
{  "code": "string",  "message": "string",  "details": {}}
{  "code": "string",  "message": "string",  "details": {}}