Skip to main content
Register a device push token

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
token
string
required

Firebase Cloud Messaging registration token of the device, as the client SDK issued it.

Maximum string length: 4096
Example:

"dQw4w9WgXcQ:APA91bF..."

deviceInfo
string | null

Human-readable label for the device, recorded alongside the registration.

Maximum string length: 512
Example:

"Pixel 9, Android 16"

platform
enum<string>

Platform the device token was issued for.

Available options:
android,
ios,
web
Example:

"android"

Response

The device is registered for push notifications.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"