Skip to main content

# registerDevice

Register a device (either iOS or Android) for the authenticated user. If there is no authenticated user an error will be returned.

    registerDevice(
      device: DeviceTokenInput!
    ): DeviceToken!

### Arguments​

#### `registerDevice.device` ● `DeviceTokenInput!` non-null input​

### Type​

#### `DeviceToken` object​

Represents one device used for push notifications.