List API Keys

List the API keys on your account, newest first.

List the API keys on your account, newest first. Archived and expired API keys are included unless you filter by status. Archived API keys are listed only here: the console no longer shows them.

GET /v1/account/api_keys

Query parameters

statusstringoptional

Only return keys with this status.

Allowed values:activeinactivearchivedexpired
limitintegeroptionalDefault 20

Items per page, 1 to 1000.

after_idstringoptional

Return the page after this key ID (older keys). Pass the previous page's last_id.

before_idstringoptional

Return the page before this key ID (newer keys). Pass the previous page's first_id.

Response

dataApiKey[]optional
has_morebooleanoptional

true when there are more keys beyond this page.

first_idstring | nulloptional

ID of the first key on this page, or null if the page is empty.

last_idstring | nulloptional

ID of the last key on this page, or null if the page is empty.

Errors

StatusReason
400status is not a valid value, limit is out of range, both after_id and before_id are set, or the cursor ID doesn't exist.