getInvitationList()
Retrieves a list of all non-revoked invitations for your application, sorted by descending creation date.
const invitations = await clerkClient.invitations.getInvitationList();
GetInvitationListParams
Name | Type | Description |
---|---|---|
status? | `accepted / | pending / |
Example
getInvitationList({ status })
Retrieves list of invitations that have been revoked.
// get all revoked invitations const invitations = await clerkClient.invitations.getInvitationList({ status: 'revoked'});