Zitadel Preview Docs

Get my user information

GET
/users/me

Authorization

nextgenSession
__nextgen_session<token>

The __nextgen_session cookie issued at session creation or superseding handoff exchange.

A missing or invalid cookie yields 401 with code auth.unauthorized and the message Missing or invalid session token.

In: cookie

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/users/me"
{}
{  "code": "string",  "message": "string",  "details": {}}
{  "message": "string",  "details": {},  "code": "user.not_found"}
{  "code": "string",  "message": "string",  "details": {}}