invite()
Invites the given waitlist entry.
Returns the invited WaitlistEntry object.
function invite(id: string, params: { ignoreExisting?: boolean }): Promise<WaitlistEntry>- Name
id- Type
string- Description
The waitlist entry ID.
- Name
params- Type
{ ignoreExisting?: boolean; }- Description
Optional parameters for inviting the waitlist entry.
- Name
params.ignoreExisting?- Type
boolean- Description
Whether to ignore an existing invitation. Defaults to
false.
const waitlistId = 'waitlist_123'
const response = await clerkClient.waitlistEntries.invite(waitlistId)Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/waitlist_entries/{waitlist_entry_id}/invite. See the BAPI reference for more information.
Feedback
Last updated on