Subscription Model

Property name

Type

Description

id

int

ID of the subscription. Generated automatically by the server after subscription creation.

notification_channel

nested object

Declare which notification channels could be used to notify user about events.

notification_channel.name

string

Notification channel name. Possible values are: apns, apns_voip, gcm, email.

device

nested object

Device details which subscribes to receive notifications.

device.client_identification_sequence

string

Unique hash to identify a client device in 3rd party service such as APNS or GCM/FCM. Initially retrieved from 3rd service and should be sent to QuickBlox to let it consequently send push notifications to the client.

device.platform

nested object

A platform of a device that is a source of the application running.

device.platform.name

string

Platform name. Possible values are: ios and android.

device.bundle_identifier

string

A unique identifier for client's application.
In iOS, this is a Bundle Identifier.
In Android, a package ID.

device.udid

string

UDID (Unique Device Identifier) of a device, which is the source of application running. This must be any sequence identifying a particular device. This is needed to support schema: 1 User => Multiple devices.