Skip to main content
GET
Gets a safe API key detail row for a key the caller can access.

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Path Parameters

id
string
required

Response

The API key detail was successfully retrieved.

Safe identifying and usage metadata for an organization API key. This model never contains the secret credential.

id
string

Unique identifier of the API key.

name
string

Human-readable name of the API key.

organization
object

Organization that owns the API key.

enabled
boolean

Whether the API key can currently authenticate requests.

preview
null | string

Masked value that can be used to identify the key without revealing its secret.

permissions
null | string[]

Permission slugs granted to the API key.

issuedAt
null | string<date-time>

Date and time when the API key was issued.

firstUsedAt
null | string<date-time>

Date and time when the API key was first used.

lastUsedAt
null | string<date-time>

Date and time when the API key was last used.

expiresAt
null | string<date-time>

Date and time when the API key expires, or null when it does not expire.

totalUses
integer<int64>

Total number of tracked uses.

createdAt
string<date-time>

Date and time when Leadping began tracking the API key.

modifiedAt
string<date-time>

Date and time when the tracked API-key metadata was last modified.

Last modified on August 20, 2026