Skip to main content
GET
Get a user by ID

Authorizations

hanko
string
cookie
required

Path Parameters

id
string<uuid4>
required

ID of the user

Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

Response

Details for a user retrieved by ID

id
string<uuid4>
deprecated

The ID of the user. Deprecated, use user_id instead.

Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

user_id
string<uuid4>

The ID of the user

Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

emails
object[]
Example:
created_at
string<date-time>

Time of creation of the the user

updated_at
string<date-time>

Time of last update of the user

passkeys
object[]
Example:
security_keys
object[]
Example:
metadata
object

The public and unsafe metadata of a user

name
string
given_name
string
family_name
string
picture
string<uri>
mfa_config
object
email
string<email>

The email address of the user

username
string

The username of the user

webauthn_credentials
object[]

A list of WebAuthn credentials

Example: