Skip to main content

# DeviceTokenInput

This input type is used to register push notification tokens for the mobile apps on Android and iOS.

    input DeviceTokenInput {
      platform: String!
      token: String!
      description: String
    }

### Fields​

#### `DeviceTokenInput.platform` ● `String!` non-null scalar​

At the moment either 'ios' or 'android'

#### `DeviceTokenInput.token` ● `String!` non-null scalar​

The device token to send the push notifications to

#### `DeviceTokenInput.description` ● `String` scalar​

Description of the device

### Member Of​

`registerDevice` mutation