create()
Creates a WaitlistEntry for the given email address. If the email address is already on the waitlist, no new entry will be created and the existing waitlist entry will be returned.
function create(params: WaitlistEntryCreateParams): Promise<WaitlistEntry>- Name
emailAddress- Type
string- Description
The email address to add to the waitlist.
- Name
notify?- Type
boolean- Description
Whether to send an email notification to the user. Defaults to
false.
const params = {
emailAddress: 'user2@example.com',
notify: true,
}
const response = await clerkClient.waitlistEntries.create(params)Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/waitlist_entries. See the BAPI reference for more information.
Feedback
Last updated on
Edit on GitHub