Skip to main content

Arguments

Input fields for creating an push notification binding.

Returns

RegisterPushNotificationBinding

Register a device token to receive push notifications for an app.

Bindings are keyed on the token and the application resolved from bundleId, externalProvider and service, so repeated calls with the same token and app update the existing binding rather than creating duplicates. The binding is always assigned to the calling user, so re-registering a token from a shared device transfers it to the current caller.

This field requires the Authorization header to be set.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation RegisterPushNotificationBinding($input: RegisterPushNotificationBindingInput!) { registerPushNotificationBinding(input: $input) { pushNotificationBinding { ...PushNotificationBindingTypeFragment } } }

Variables

Response

{ "data": { "registerPushNotificationBinding": { "pushNotificationBinding": PushNotificationBindingType } } }