# Pagination for Organization Invitations and Members with node-auth0 v4.1.0

**URL:** <https://community.auth0.com/t/pagination-for-organization-invitations-and-members-with-node-auth0-v4-1-0/120113>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [November 2, 2023, 10:46pm UTC](https://community.auth0.com/t/pagination-for-organization-invitations-and-members-with-node-auth0-v4-1-0/120113 "2023-11-02T22:46:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon17](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/simon17/32/33814_2.png) [@simon17](https://community.auth0.com/u/simon17)\
**Post date:** [November 2, 2023, 10:46pm UTC](https://community.auth0.com/t/pagination-for-organization-invitations-and-members-with-node-auth0-v4-1-0/120113/1 "2023-11-02T22:46:46Z")

</div>

Hello, I’m trying to implement pagination for retrieving invitations and members within an organization. I’m currently using the management API in node-auth0 v4.1.0 and I’d appreciate it if someone can clarify this for me:

The docs point out that checkpoint pagination MUST be used if retrieving more than 1,000 members using the getMembers method.

However, for retrieving invitations using the getInvitations method, the docs do not specify whether or not checkpoint pagination must be used if you want to retrieve more than 1,000 invitations (it only points out that the getInvitations method takes in the optional properties `page`, `per_page`, and `include_totals`).

The docs I’m referencing: [OrganizationsManager | auth0](https://auth0.github.io/node-auth0/classes/management.OrganizationsManager.html#getInvitations)

Can someone confirm if checkpoint pagination must be used (or if it’s even possible) for the getInvitations method in order to retrieve more 1,000 invitations?

If checkpoint pagination is not required, does this mean I am able to retrieve more than 1,000 invitations by using just the `page` and `per_page` properties?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [November 30, 2023, 7:26pm UTC](https://community.auth0.com/t/pagination-for-organization-invitations-and-members-with-node-auth0-v4-1-0/120113/3 "2023-11-30T19:26:20Z")

</div>

Hi @simon17

Welcome back to the Auth0 Community!

I’ve just checked with the Management API docs and get invitation to organization method supports pagination → [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/organizations/get-invitations). I would recommend to use pageination when dealing with large datasets to don’t encounter limitations.

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 14, 2023, 7:26pm UTC](https://community.auth0.com/t/pagination-for-organization-invitations-and-members-with-node-auth0-v4-1-0/120113/4 "2023-12-14T19:26:51Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
