push

Register (upsert) a phone's Expo push token

post/api/v1/push/devices

Request body

deviceNamestring

Human-friendly device label.

installIdstring

Stable per-install device id, keying the registry so a rotated push token updates the same row. Optional: older app builds omit it and the daemon synthesizes one.

platform'ios' | 'android'

Device platform.

tokenstring

Expo push token, e.g. ExponentPushToken[...]. Optional: omitted when the phone has no push token yet.

Response

OK

Changes

Changed in 2 of the 107 revisions of this API.13

  • 63c11970341412See the full diff
    • the response property device/token became optional for the status 200

      response-property-became-optional

    • added the new optional request property installId

      new-optional-request-property

    • the request property token became optional

      request-property-became-optional

    • endpoint added

      endpoint-added