Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerkstage.dev

getOrganizationList()

Retrieves a list of organizations.

const organizations = await clerkClient.organizations. getOrganizationList();

GetOrganizationListParams

NameTypeDescription
limit?numberThe number of results to return.
offset?numberThe number of results to skip.
query?stringThe query to search for.

Example

getOrganizationList({ limit })

Retrieves organization list that is filtered by the number of results:

const sessions = await clerkClient.organizations.getOrganizationList({ // returns the first 10 results limit: 10, });

What did you think of this content?

Clerk © 2023