Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerkstage.dev

createAllowlistIdentifier()

Adds a new identifier to the allowlist.

const allowlistIdentifier = await clerkClient.allowlistIdentifiers.createAllowlistIdentifier({ identifier: 'test@example.com', notify: false, });

createAllowlistIdentifierParams

NameTypeDescription
identifierstringThe identifier can be: a phone number in international E.164(opens in a new tab) format, an email address, or a wildcard email address (*.domain.com). Use this identifier value to allow any email address in a particular email domain.
notifybooleanWhether to notify the owner of the identifier. The notify property is not available for wildcard identifiers.

What did you think of this content?

Clerk © 2024