createAllowlistIdentifier()
Adds a new identifier to the allowlist.
const allowlistIdentifier = await clerkClient.allowlistIdentifiers.createAllowlistIdentifier({
identifier: 'test@example.com',
notify: false,
});- Name
identifier- Type
string- Description
The
identifiercan be: a phone number in international E.164 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.
- Name
notify- Type
boolean- Description
Whether to notify the owner of the identifier. The
notifyproperty is not available for wildcard identifiers.