Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.com

getClient()

Retrieves a single client by its ID, if the ID is valid. Throws an error otherwise.

const clientID = 'my-client-id'; const client = await clerkClient.clients.getClient(clientId);

Required parameters

NameTypeDescription
clientIdstringThe ID of the client to retrieve.

Last updated on August 16, 2023

What did you think of this content?

Clerk © 2023