Admin: returns all integration keys for the tenant, optionally filtered by type. Business: returns only keys scoped to their own business entity. Use pagination parameters (page & limit) for optimal performance.
Security
authJWT or projectKey
- Mock serverhttps://docs.pers.ninja/_mock/swagger/api-keys
- https://api.pers.ninja/v2https://api.pers.ninja/v2/api-keys
- authJWT
- projectKey
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/api-keys?type=TENANT_SYSTEM_JWT&includeRevoked=true&page=0&limit=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successfully retrieved tenant API keys
Array []
Type of API key
Enum:"TENANT_SYSTEM_JWT""ADMIN_JWT_ACCESS_TOKEN""ADMIN_JWT_REFRESH_TOKEN""USER_JWT_ACCESS_TOKEN""USER_JWT_REFRESH_TOKEN""BUSINESS_JWT_ACCESS_TOKEN""BUSINESS_JWT_REFRESH_TOKEN""BUSINESS_SYSTEM_JWT""BLOCKCHAIN_WRITER_JWT""BLOCKCHAIN_READER_JWT"
Example:"TENANT_SYSTEM_JWT"
Token preview for dashboard identification (first 8 + last 4 characters)
Example:"eyJhbGci...xMjM"
Last time the API key was used for authentication
Example:"2025-11-24T14:30:00.000Z"
Response
[ { "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "type": "TENANT_SYSTEM_JWT", "name": "JWT Token (Mainnet) - 2025-11-22", "createdAt": "2025-11-22T10:30:00.000Z", "shortenedPrivateKey": "eyJhbGci...xMjM", "expiresAt": "2026-11-22T10:30:00.000Z", "isRevoked": false, "lastUsedAt": "2025-11-24T14:30:00.000Z", "entityId": "biz_abc123" } ]