Skip to main content
The IN_APP channel stores notification records directly in the database, allowing you to build persistent notification bells or feed panels inside your customer dashboards.

How it Works

Unlike Email or SMS, In-App dispatches do not hit external third-party servers. When you send a notification with channel: "IN_APP", the worker writes a record to the inapp_notifications database table. Your client applications can then read from these records.

Database Queries

Since in-app feeds write directly to Postgres, you can query items using raw SQL or by querying the database repository.

Fetch Unread Feed

Get the list of unread alerts for a specific user recipient:

Mark as Read

Flag a notification as read when the user views the panel or opens the alert:

React Component Example

Here is a complete, responsive React hook example showing how to build an active Notification Bell panel that polls for unread alerts: