getPendingOrganizationInvitationList()
Retrieves a list of organization invitations that have not yet been accepted.
const invitations = await clerkClient.organizations.getPendingOrganizationInvitationList();
GetPendingOrganizationInvitationListParams
Name | Type | Description |
---|---|---|
organizationId | string | The ID of the organization to retrieve. |
limit? | number | The number of results to return. |
offset? | number | The number of results to skip. |
Examples
getPendingOrganizationInvitationList({ limit })
Retrieves orgnanization invitation list that is filtered by the number of results:
const invitations = await clerkClient.organizations.getPendingOrganizationInvitationList({
// returns the first 10 results
limit: 10,
});