/
v3.0.11Get access

storeOneSignalToken

This method stores the OneSignal push notification subscription token for the user. It links the user account with a OneSignal subscription, enabling the system to send push notifications to the user’s device or browser.

Request parameters:

NameDescriptionTypeValuesDefault
subscriptionId
OneSignal push subscription identifierstring--
source
Platform where the token was generatedstring"web"-
appType
Application scope for notificationsstring"all", "belote", etc.-

Call example:

storeOneSignalToken({
  source: 'web',
  appType: 'all',
  subscriptionId: 'c6c198d2-7c65-45b7-a2d2-24f6f9f3e251'
})

Response examples:

[]