Ezzy

Notifications

Recipients for push/notification delivery per project.

The Notifications module manages recipients for push/notification delivery per project. Recipients are identified by user ID and can have email, APNS (Apple), and FCM (Firebase) tokens.

Data model

Table projectNotificationRecipients: one row per recipient per project. Fields include projectId, userId (external identifier from your system), optional email, apns (device token), fcm (registration token).

Convex API (convex/notificationRecipients.ts)

  • listRecipients — All notification recipients for a project (owner only).
  • setRecipientsFromCsv — Replace all recipients for a project with a list (userId, optional email, apns, fcm). Used when uploading a CSV from the app.

App usage

On Notification (project → Notification) you upload a CSV to set the notification recipient list. The same recipient table can be used for both notifications and email broadcast (see Email broadcast).