cURL
curl --request GET \ --url https://api.g-tateth.com/api/tenant/api-keys \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "keys": [ { "_id": "<string>", "name": "<string>", "keyPrefix": "sk_live_", "environment": "production", "permissions": [ "<string>" ], "isActive": true, "expiresAt": "2023-11-07T05:31:56Z", "lastUsedAt": "2023-11-07T05:31:56Z", "usageCount": 123, "currentMonthRequests": 123, "createdAt": "2023-11-07T05:31:56Z" } ], "total": 123, "page": 123, "limit": 123, "totalPages": 123 } }
JWT token authentication (for user sessions)
Filter by environment
production
staging
Filter by active status
Page number
Items per page
x <= 100
List of API keys
Show child attributes
"sk_live_"