banno-digital-toolkit

How to check if push notifications are enabled for the current user/device?


We need to send alerts/push notifications to users only when push notifications are enabled in the application.

Is there any API or property available to check the status of push notification settings for the currently logged-in user/device?

In the Consumer API documentation, I found APIs to get userDetails and user devices, but there doesn’t seem to be any field that indicates whether push notifications are turned on.

How can we confirm this status before sending a notification?


Solution

  • Strictly speaking, you can't verify that the user actually has push notifications turned on. The Banno Digital Toolkit doesn't offer any mechanism to make that determination.

    Also strictly speaking, the user gets to choose which 'channels' they want to use for receiving alerts (email, push, SMS). See https://jackhenry.dev/open-api-docs/consumer-api/api-reference/v0/alerts/details/