Skip to main content
GET
Get the current user

Authorizations

hanko
string
cookie
required

Response

Details for the current user

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
username
object

The representation of a username of the user