get()
Retrieves a specific API key by its ID. Returns an APIKeyResource object.
function get(apiKeyId: string): Promise<APIKeyResource>- Name
apiKeyId- Type
string- Description
The ID of the API key to retrieve.
const apiKeyId = 'apikey_123'
const response = await clerkClient.apiKeys.get(apiKeyId)Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint GET/api_keys/{apiKeyId}. See the BAPI reference for more information.
Feedback
Last updated on