Tenants & devices
Register a device
Register or refresh a handset
Maps an FCM token to your user id so pushes can address users, not tokens. Re-registering moves the token to the new user instead of duplicating it. Registration is not a send, so no quota applies.
Authorizations
AuthorizationstringheaderrequiredBearer <token>, where the token comes from Create a token with the client-credentials grant.
Body
tenant
string
required
The tenant's external id.
token
string
required
The FCM registration token.
external_user_id
string
required
Your id for the user on this handset.
platform
string
Short label such as android or ios.
Responses
201
Registered.
200
Refreshed an existing token.
400
Unknown tenant, or
token / external_user_id missing.