Auth

Get current user

Returns the current user's profile, linked identities, and passkey state. Optional app_origin query parameter validates the current RP and returns has_passkey_for_current_rp.

get/auth/v1/user

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/v1/user
  • Auth: API key in header apikey and HTTP bearer

Query parameters

app_originstring uri

Exact app origin to evaluate for current-rp passkey state.

Response

Current user info

idstring uuid
emailstring email
email_verified_atstring date-time nullable
display_namestring nullable
avatar_urlstring nullable
last_sign_in_atstring date-time nullable
created_atstring date-time
has_passkeysboolean
passkey_countinteger
has_passkey_for_current_rpboolean nullable
current_rp_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.