cURL
curl --request GET \ --url https://api.series.hr/attendance/server-status/{sessionId} \ --header 'apikey: <api-key>'
Get server connection status for a session
curl -X GET https://api.series.hr/attendance/server-status/session_xyz789 \ -H "apikey: YOUR_API_KEY"
{ "success": true, "data": { "sessionId": "session_xyz789", "connected": true, "ServerId": "server_12345", "connectedAt": "2024-01-15T10:30:00Z" } }
Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.
apikey
x-api-key
The session ID
Server status