INPUT_OBJECT

AddDeviceTokenInput

AddDeviceTokenInput accepts a token and other parameters to add a device token to a given user.

link GraphQL Schema definition

1input AddDeviceTokenInput {
4
2# App build number of the current device.
3appBuild: String
8
5# Unique identifier of the current device.
6# Note: deprecated field -- the deviceID now comess of the X-Device-Id header...
7deviceID: ID
11
9# Arbitrary name associated with the device.
10deviceName: String
14
12# The ID of the new token.
13deviceToken: ID!
17
15# Notification capabilities of the current device.
16notificationCapabilitiesTypes: [String!]
20
18# Onsite notification capabilities of the current device.
19onsiteCapabilitiesTypes: [String!]
23
21# The platform the token is associated with, i.e. 'android' or 'ios'.
22platform: String!
27
24# ID for the user associated with the new device token.
25# Note: deprecated field -- the userID now comes off the authenticated user.
26userID: ID
28}