N
Novu3d ago
AndreMaz

[@novu/api] Fetch notifications with time-window filter

Hey @Pawan Jain Is it possible to add startTs and startTs to the /v1/subscribers/{subscriberId}/notifications/feed endpoint? I would like to fetch notifications for a specific period of time. Something like:
await novu.subscribers.notifications.feed({
subscriberId,
limit,
page,
startTs: 1,
endTs: 2
});
await novu.subscribers.notifications.feed({
subscriberId,
limit,
page,
startTs: 1,
endTs: 2
});
1 Reply
Pawan Jain
Pawan Jain19h ago
@AndreMaz Currently, our APIs don't support these options. This could be a great feature addition to our APIs. Sharing the feedback with team.

Did you find this page helpful?