registerPushDeviceMutation
Register (or refresh) the calling device's push-notification token for a business's white-label app. Idempotent on the device token: re-registering updates the row and re-enables it. The token is scoped to the business identified by businessHandle. Requires an authenticated viewer.
Arguments
inputRegisterPushDeviceInput!Returns
See RegisterPushDeviceResult for the full shape.
Try it
Example
Query
mutation RegisterPushDevice($input: RegisterPushDeviceInput!) {
registerPushDevice(input: $input) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqlregisterPushDevice