Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to


Creates a new invitation for the given email address and sends the invitation email.

Keep in mind that you cannot create an invitation if there is already one for the given email address. Also, trying to create an invitation for an email address that already exists in your application will result in an error.

const invitation = await clerkClient.invitations.createInvitation({ emailAddress: '', redirectUrl: 'https://optionally-redirect-here', });


emailAddressstringThe email address of the user to invite.
redirectUrl?stringThe URL to redirect the user to after they accept the invitation.

What did you think of this content?

Clerk © 2023