Mobile Push Notifications

Register or refresh a mobile push token

Registers the device Expo push token for the signed-in user with eh-notifications. Re-registering the same token refreshes metadata; registering a token already owned by another user moves it.

put/api/v3/mobile/push-tokens

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

expo_push_tokenstring required
platform'ios' | 'android' required

Mobile platform for an Expo push token.

device_idstring nullable
app_versionstring nullable

Response

Successful Response

idinteger required
user_idinteger required
platform'ios' | 'android' required

Mobile platform for an Expo push token.

is_activeboolean required
device_idstring nullable
app_versionstring nullable

Changes

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