device

post/api/device/gcm/

Request

  • Base URL
    https://api.dash.crewtraka.com
  • URL
    https://api.dash.crewtraka.com/api/device/gcm/
  • Auth
    API key in header Authorization

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

Changes

No recorded changes to this operation across all 45 revisions of this API.