Read-only Pro

List API Keys

Lists your API keys as metadata only, including the prefix (for example, 'ws_abcdefghij'), scope, permissions, and usage_count. Raw key values are never returned, and an empty list comes back if you have none. Expired-and-never-used keys are hidden by default; pass include_expired=true to see them, while expired keys that were used remain visible regardless.

list_api_keysGET/api/v1/api-keys
crispy — bash

Example prompt: List all my API keys including any that expired without being used

[
  {
    "prefix": "ws_abcdefghij",
    "scope": "workspace",
    "permissions": ["campaigns:read"],
    "usage_count": 142
  }
]
Permission scope
pro
Access
Read-only
Category
Account

What you can build

Audit which API keys exist and what permissions each one holds
Identify unused keys by usage_count to clean up your credential footprint
Check how close you are to the 10-key-per-account limit
Surface expired-and-never-used keys for housekeeping with include_expired

Parameters

Inputs accepted by list_api_keys.

NameTypeDescription
account_idstringAccount to list keys for. Defaults to current account.
include_expiredbooleanInclude expired-and-never-used keys in the list (default false). Expired keys that WERE used remain visible regardless.

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.