auth

Return the caller's identity + tenant info (for the UI banner).

Narrow profile shape for the Dashboard email-verification banner. Accepts either a dashboard session token or an API key (Bearer adsh_* / mne_*) — the session token is the production path (the Dashboard always sends one); API-key auth exists for tooling and tests. Distinct from /me in response shape, not in auth method. Returns whoever asked, not the workspace owner — a workspace can contain several people with different roles.

get/v1/auth/profile

Request

  • Base URL: https://api.andish.ru (the document declares no server; this is the origin it was published from)
  • URL: https://api.andish.ru/v1/auth/profile
  • Auth: none declared

Response

Successful Response

user_idstring uuid required
emailstring required

User email address.

email_verifiedboolean required

True if email was confirmed. MVP: False until the user clicks the verification link.

last_login_atstring date-time nullable
rolestring nullable

Caller's role in their workspace: admin | editor | viewer. None means the role is unknown (a request made with an API key that has no resolvable creator).

Changes

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