v2

latestOpenAPI 3.0.32026-08-07534393676.1 KB
device

post/api/device/gcm/

Headers

X-Companystring

The company id to request data for

Request body

idinteger
namestring nullable
registration_idstring required
device_idinteger nullable

ANDROID_ID / TelephonyManager.getDeviceId() (e.g: 0x01)

activeboolean

Inactive devices will not be sent notifications

date_createdstring date-time nullable required
cloud_message_type'FCM' | 'GCM'
  • FCM - Firebase Cloud Message
  • GCM - Google Cloud Message
application_idstring nullable

Opaque application identity, should be filled in for multiple key/certificate access

Response

idinteger
namestring nullable
registration_idstring required
device_idinteger nullable

ANDROID_ID / TelephonyManager.getDeviceId() (e.g: 0x01)

activeboolean

Inactive devices will not be sent notifications

date_createdstring date-time nullable required
cloud_message_type'FCM' | 'GCM'
  • FCM - Firebase Cloud Message
  • GCM - Google Cloud Message
application_idstring nullable

Opaque application identity, should be filled in for multiple key/certificate access