User Tokens
Add single token to user
Adds a single token to a user and overwrites a matching existing token.
PUT
/
users
/
{user_id}
/
tokens
/
{token}
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
application/json
Available options:
firebase-fcm
, apn
, expo
, onesignal
Full body of the token. Must match token in URL.
ISO 8601 formatted date the token expires. Defaults to 2 months. Set to false to disable expiration.
Properties sent to the provider along with the token
Information about the device the token is associated with.
Information about the device the token is associated with.