Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerkstage.dev

getInvitationList()

Retrieves a list of all non-revoked invitations for your application, sorted by descending creation date.

const invitations = await clerkClient.invitations.getInvitationList();

GetInvitationListParams

NameTypeDescription
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'});

What did you think of this content?

Clerk © 2024