cURL
curl --request GET \ --url https://api.series.hr/basic/check-key/{apiKey}
Validate an API key and get its workspace information
curl https://api.series.hr/basic/check-key/YOUR_API_KEY
apiKey
{ "success": true, "data": { "valid": true, "workspaceId": "a7d5339a-5531-4336-99c6-6f3249c9ac20", "workspaceName": "My Organization", "status": "active", "createdAt": "2024-01-01T00:00:00Z", "lastUsed": "2024-01-05T11:30:00Z", "rateLimitRemaining": 8542, "rateLimitReset": "2024-01-05T13:00:00Z" } }
{ "success": true, "data": { "valid": false, "status": "inactive", "message": "API key is inactive or invalid" } }
API key validation result