Mobile Authentication

Mobile Login

Mobile login: Firebase ID token + explicit site_id (no Origin/Referer).

Returns access JWT (2 weeks, typ=mobile). Does not set the web __session cookie.

post/api/v3/auth/mobile

Request

  • Base URL
    https://api.endless.health (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

firebase_tokenstring required
site_idinteger required
locale'en' | 'es'

Response

Successful Response

idinteger required
emailstring required
site_idinteger required
organization_identifierstring required
first_namestring nullable required
last_namestring nullable required
is_superuserboolean
rolesstring[]
permissionsstring[]
is_staffboolean nullable
is_physicianboolean nullable
is_kit_assemblyboolean nullable
localestring nullable required
has_pending_tokenboolean nullable
featuresobject nullable
access_tokenstring required

Changes

No recorded changes to this operation across all 2 revisions of this API.