Skip to main content
Docs

getAllowlistIdentifierList()

Retrieves the list of all allowlist identifiers. Returns a PaginatedResourceResponse object with a data property that contains an array of AllowlistIdentifier objects, and a totalCount property that indicates the total number of allowlist identifiers in the system.

function getAllowlistIdentifierList(): Promise<PaginatedResourceResponse<AllowlistIdentifier[]>>

Note

Using clerkClient varies based on your framework. Refer to the JS Backend SDK overview for usage details, including guidance on how to access the userId and other properties.

const response = await clerkClient.allowlistIdentifiers.getAllowlistIdentifierList()

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint GET/allowlist-identifiers. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on