Skip to content
LeadMCPDocs

List API keys

GET/keys

Lists the account's active API key with its id, name, created_at and last_used_at. Never returns the key or its hash. Only an OAuth session may call it; a request signed with an API key answers 403 auth.oauth_required. Free.

FreeFree.

Lists the account's active API key with its id, name, created_at and last_used_at. Never returns the key or its hash. Only an OAuth session may call it; a request signed with an API key answers 403 auth.oauth_required. Free.

Response

The fields inside data.

keysarray of ApiKeySummaryrequired

Show child attributes

idstringrequired

The id of the key. It is not a secret.

namestringrequired

The label of the key.

created_atstringrequired

When the key was created, RFC 3339 UTC.

last_used_atstring or nullrequired

The last call made with the key, RFC 3339 UTC. Null until the first call.

Failures

StatusMeaning
401The credential is missing, unknown or revoked.
403The request is signed with an API key.
429The key passed 300 requests a minute or 2 concurrent requests.
503The data is unavailable for a short time.