Zitadel Preview Docs

Get user by ID

GET
/users/{user_id}

Authorization

oauth2 users.read
AuthorizationBearer <token>

In: header

Scope: users.read

Path Parameters

user_id*string

Query Parameters

project_id*string

The unique identifier of the project

team_id?string

The unique identifier of the team

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/users/user_id_12345?project_id=river-8421"
{}
{  "code": "string",  "message": "string",  "details": {}}
{  "code": "string",  "message": "string",  "details": {}}
{  "code": "string",  "message": "string",  "details": {}}