Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.com

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

Last updated on August 16, 2023

What did you think of this content?

Clerk © 2024