Get messageId(s) for recently triggered notification
I have a use case where I want to occasionally clear notifications in my application--to do so I need the messageIDs. Is there a way that upon triggering an in-app notification I can obtain a list of subscriber IDs and the corresponding message IDs for the notification that was just triggered?
3 Replies
Hi @rajat5885
Are you using custom notification center
or novu pre built react component?
pre-built react component
but is this possible with either?
If you build custom notification center, there useNotifications hook return notifications array
Each item has message id