How to get the message IDs for all of notifications that were part of a trigger operation?
Let's say I trigger a notification to a list of subscribers in Novu, and all of these are in-app notifications. Is there a way that I can then get the message IDs for all of these notification messages on trigger? Rather than by having all of the clients send the individual messageIDs to the backend.
3 Replies
Unfortunately, there is no direct way to obtain a list of subscriber IDs and the corresponding message IDs for the notification that was just triggered using Novu pre-built react component.
But consider submitting this feature request here:
https://roadmap.novu.co/roadmap
Or create a new issue:
!issue
Let's open an issue over GitHub! That's the link you should follow: https://github.com/novuhq/novu/issues/new/choose
@rajat5885 you can use this api https://docs.novu.co/api/get-messages/
with in_app value for channel query param