Unable to adjust page Size in Headless API

https://v0.x-docs.novu.co/notification-center/client/headless/api-reference#fetchnotifications While implementing pagination for fetching notifications using fetchNotifications, I noticed that the pageSize parameter is not mentioned in the documentation. Is there something missing or is there any way to control the page size
7 Replies
Pawan Jain
Pawan Jain4d ago
@djsteve2640 Default page size is 10. This method does not support pageSize parameter
djsteve2640
djsteve2640OP4d ago
So does that mean all I can do is increase the page number and append the new messages to the old one ?
Novu_Bot
Novu_Bot4d ago
@djsteve2640, you just advanced to level 1!
Pawan Jain
Pawan Jain4d ago
Yes fixed size is 10
djsteve2640
djsteve2640OP4d ago
Alright thanks Another thing, Is it better to manually use the APIs given to manage notification feed or is the Headless Socket method better ? https://docs.novu.co/api-reference/subscribers/get-in-app-notification-feed-for-a-particular-subscriber
Pawan Jain
Pawan Jain4d ago
@djsteve2640 headless socket method is better, you can add real time experience
djsteve2640
djsteve2640OP4d ago
Got it. Makes sense. Thank You so much

Did you find this page helpful?