Skip to main content

keys.list

Lists all active API keys for the authenticated user. This endpoint requires Clerk JWT authentication (used in dashboard).

Authentication

This endpoint uses JWT authentication instead of API key authentication:
This endpoint is primarily used in dashboard applications where users are authenticated via Clerk.

Parameters

No parameters required. Returns all keys for the authenticated user.

Response

Returns an array of API key objects:
string
Internal UUID for the API key record
string
Your Clerk user ID (tenant identifier)
string
Clerk’s API key ID
string
Descriptive name for the key (e.g., “Production Key”)
string | null
ISO 8601 timestamp of last usage, or null if never used
string
ISO 8601 timestamp of creation
string | null
ISO 8601 timestamp of revocation, or null if active

Examples

Create API Key

Generate a new API key

Revoke API Key

Revoke an existing key