Authentication
GET/v1/auth/me
Get current user
curl -X GET "https://api.52-28-238-205.sslip.io/v1/auth/me" \ -H "Cookie: <console session cookie>"Returns the signed-in user, current organization, role, effective permissions, memberships and passkey state. Console session only.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/auth/meBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>
sessioncookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
Success.
application/json- response
user*org?|nullrole?string|nullteam_id?|Team id (team_...).
merchant_id?|Merchant id (mch_...).
permissions*memberships*array<>has_passkey*Has Passkeypasskey_fresh*Passkey Freshenvironment*Environmentdemo_mode*Demo Modecurrent_rp_has_passkey?boolean|nullcurrent_rp_passkey_count?integer|nullrp_id?string|null[key: string]?anyPOSTVerify sign-in link
Exchanges a magic link token for a console session cookie, creating the organization on a sign-up link. Callable by anyone holding the token; a link works once and expires after 15 minutes.
POSTSwitch organization
Sets the session's current organization. Console session only; the user must be a member of the target organization.