Mobile authentication API
All routes use /api/v1 and a valid X-AppID. X-AK-Device-Key is a random installation UUID used to associate a device record; it is not an authentication factor.
email must be valid and password is 12–256 characters. A successful response includes a short-lived access token, a one-time plaintext refresh token, expiry values, session_id, and app_id. Store the refresh token in platform secure storage only.
Refresh body:
Replace the old refresh token atomically. If local persistence fails, the client must not continue with a token the server has consumed.
POST /auth/password/forgotreturns generic202to resist enumeration.POST /auth/password/resetuses email, OTP, and new password, then revokes App Mobile sessions.POST /auth/password/changerequires a bearer token and revokes other sessions.