auth

Principal-aware identity (Spec 2, D-17).

Answers for both user credentials (web JWT, nano_u_v1_ session/PAT — the frontend only ever sees this variant) and company credentials (nano_c_v1_). whoami calls this.

get/auth/me

Request

  • Base URL: https://api.nanocorp.so (the document declares no server; this is the origin it was published from)
  • URL: https://api.nanocorp.so/auth/me
  • Auth: HTTP bearer

Response

Successful Response

subject_typestring required
conglomerate_idstring required
scopesstring[] required
sourcestring required
token_kindstring nullable
expires_atstring nullable
alpha_accessboolean
experimentsobject
idstring nullable
emailstring nullable
first_namestring nullable
last_namestring nullable
profile_picture_urlstring nullable
created_atstring nullable
x_onboarding_shownboolean
bonus_usedobject
company_idstring nullable
company_namestring nullable
company_handlestring nullable
company_emailstring nullable
platform_emailstring nullable

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status