List API keys for the current user
GET
/auth/api-keys
const url = 'https://api.krakenkey.io/auth/api-keys';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.krakenkey.io/auth/api-keys \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”includeRevoked
string
True to also list keys revoked in the last 30 days (with revokedAt set)
Responses
Section titled “Responses”List of API keys (metadata only, no secrets), with lastUsedAt and lastUsedIp
Unauthorized