Skip to main content
Docs

getClient()

Retrieves a single .

function getClient(clientId: string): Promise<Client>
  • Name
    clientId
    Type
    string
    Description

    The ID of the client to retrieve.

Note

Importing clerkClient varies based on your framework. Refer to the for usage details, including guidance on .

const clientId = 'client_123'

const response = await clerkClient.clients.getClient(clientId)

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint GET/clients/{client_id}. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on