API ReferenceAPI Keys
Get all API keys
Retrieves all API keys for the organisation
GET
/v1/api-keysAuthorization
bearer AuthorizationBearer <token>
In: header
Response Body
application/json
curl -X GET "https://example.com/v1/api-keys"{ "success": true, "statusCode": 200, "message": "Request processed successfully", "timestamp": "2025-10-20T16:30:00.000Z", "path": "/v1/auth/register", "data": { "apiKeys": [ { "id": "key_123", "name": "Production API Key", "type": "LIVE", "status": "ACTIVE", "keyPrefix": "sk_test_abc1", "apiKey": "sk_test_4eC39HqLyjWDarjtT1zdp7dc", "scopes": [ "payments:read", "payments:write" ], "rateLimit": 100, "lastUsedAt": "2025-10-20T12:00:00.000Z", "expiresAt": "2026-10-20T12:00:00.000Z", "revokedAt": "2025-10-20T12:00:00.000Z", "createdAt": "2025-10-20T12:00:00.000Z", "updatedAt": "2025-10-20T12:00:00.000Z" } ] }}