Add a token to a user
Registers one device token for a user against a provider key, overwriting the token if it already exists. Push sends resolve tokens per user.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The user's ID. This can be any uniquely identifiable string.
The full token string.
Body
Request body for adding a single token. The token value itself is provided via the path parameter, so it is omitted from the body.
firebase-fcm, apn, expo, onesignal When the token expires. Accepts a date, or the boolean false to disable expiration entirely. ISO 8601 is recommended (for example 2026-10-25T00:00:00.000Z). A value that cannot be parsed as a date is rejected; it is not treated as "no expiration" and does not fall back to the default. true is not a supported value. Omit the field to use the default, which expires a token that has not been re-registered for 60 days.
Properties about the token.
Information about the device the token came from.
Tracking information about the device the token came from.