Skip to main content

Input fields

bundleId : String! required

Register a push notification binding. A push notification binding connects an account user to a specific application running on a specific device through a 'registration token' (Android) or 'device token' (iOS). Using this binding we can send push notifications to the account user's devices.

expiresAt : DateTime

The time at which the push notification binding expires.

externalProvider : String

The provider that delivers push notifications for the application, e.g. 'PINPOINT' or 'FCM'. Disambiguates apps that share a bundle ID and service but use different providers. Defaults to 'PINPOINT' when omitted.

service : String

The push notification service the application is registered with. Pinpoint: 'GCM' for Android / 'APNS' for iOS / 'APNS_SANDBOX' for iOS Sandbox applications. Firebase: 'ANDROID_FCM' for Android / 'IOS_FCM' for iOS applications.

token : String! required

Device push notification token.

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.

Example

{ "bundleId": "15450074", "expiresAt": "1978-02-09T23:44:05.070098+00:00", "externalProvider": "vote-experience-red-in-population", "service": "small-light-family-specific-other", "token": "scientist-alone-think-much-order" }