Skip to content
Nofy by Encipher Docs

Tenants & devices

Register a device

Register or refresh a handset

POST https://nofy.encipher.co.tz/v2/devices

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

Authorizationstringheaderrequired

Bearer <token>, where the token comes from Create a token with the client-credentials grant.

Body application/json

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.
Read the guideDevices & push
Esc
↑↓ to move↵ to open