#Get messageId(s) for recently triggered notification

1 messages · Page 1 of 1 (latest)

solid oak
#

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?

hoary shadow
#

Hi @solid oak
Are you using custom notification center

#

or novu pre built react component?

solid oak
#

pre-built react component

#

but is this possible with either?

hoary shadow
#

If you build custom notification center, there useNotifications hook return notifications array