Overview
This article details how to fetch all the pending invites being sent for an organization exceeding the 1000 count.
Applies To
- Pending Invites
- Pagination Support
Solution
Using the GET /api/v2/organizations/{org_id}/invitations
endpoint, it is not currently possible to get back all invitations from an organization if the number of invitations exceeds 1000. Otherwise, as documented here, the endpoint results in error:
400 Requesting page exceeds the allowed maximum of 1000 records .
Currently, pagination support is pretty limited in invitations. It is possible to navigate only through 1000 search results.