Skip to main content
GET
Get a user

Path Parameters

user_id
string
required

Response

Successful Response

Response schema for a single user.

Includes user details along with related account and role information.

id
string
required

User ID

email
string
required

User's email address

account_id
string
required

Account ID (UUID)

account_code
string
required

Human-readable account code in XX#### format (e.g., AB1234)

account_name
string
required

Account display name

role_id
integer
required

Role ID

role_name
string
required

Role name

is_active
boolean
required

Whether the user can log in

auth_provider
string
required

Authentication provider type ('password', 'oauth', 'saml')

email_verified
boolean
required

Whether the user's email is verified

created_at
string<date-time>
required

When the user was created

auth_provider_name
string | null

Specific provider name (e.g., 'google', 'github')

external_id
string | null

External provider's user ID

external_email
string | null

Email from external provider

profile_data
Profile Data · object | null

Additional profile data from external provider

email_verified_at
string<date-time> | null

When the email was verified

last_login
string<date-time> | null

Last successful login