N
Novu12mo ago
rajat

Does the getNotifications API have a query param override to get all data instead of pagination?

For example, if I am getting all notifications with a certain transactionID is there a way to get all of that data in one call instead of paginating the data with a size of 10 results?
2 Replies
empe
empe12mo ago
I was not able to find a query parameter override to fetch all notifications in one call instead of paginating the data with a size of 10 results. However, the fetchNotifications API does have options for pagination. According to https://docs.novu.co/notification-center/headless/api-reference/, the fetchNotifications has a page parameter that you can increment to fetch subsequent pages of notifications. Also consider checking this thread: https://discord.com/channels/895029566685462578/1072283040182714438 If you have any further questions or require additional assistance, please do not hesitate to ask.
Pawan Jain
Pawan Jain12mo ago
@rajat5885 Unfortunately, we don't have such override functionality. We have pagination query param and send paginated results