Connected Clients
A compact summary of today's connected-client counts grouped by gateway — one row per gateway with the total number of unique clients seen so far today. For per-client records (MAC, IP, hostname), see Clients.
Client count summary GET /v1/connected_clients
Returns today's connected client count per gateway, ordered by client count descending.
Response object
siteCodestringSite identifier for the gateway.
deviceNamestringDisplay name of the gateway or access point.
gatewayIdstringUnique identifier of the gateway device. Matches
gatewayIdon/v1/clientsandgatewayIdon/v1/devices.clientCountintegerNumber of unique clients seen today on this gateway.
lastUpdatedAttimestampWhen the count was last refreshed.
GET/v1/connected_clients
- cURL
- JavaScript
- Go
- PHP
curl https://polaris.revlv.com/v1/connected_clients \
-H "Authorization: Bearer {token}"
const res = await fetch('https://polaris.revlv.com/v1/connected_clients', {
headers: { 'Authorization': 'Bearer {token}' },
});
const { data } = await res.json();
req, _ := http.NewRequest("GET", "https://polaris.revlv.com/v1/connected_clients", nil)
req.Header.Add("Authorization", "Bearer {token}")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
$response = $client->get('https://polaris.revlv.com/v1/connected_clients', [
'headers' => ['Authorization' => 'Bearer {token}'],
]);
echo $response->getBody();
Response
{
"data": [
{
"siteCode": "REV-001-001",
"deviceName": "Site A Gateway",
"gatewayId": "d1e2f3a4-b5c6-7890-abcd-ef1234567890",
"clientCount": 14,
"lastUpdatedAt": "2026-05-02T10:25:00Z"
},
{
"siteCode": "REV-001-002",
"deviceName": "Site B Gateway",
"gatewayId": "e2f3a4b5-c6d7-8901-bcde-f12345678901",
"clientCount": 7,
"lastUpdatedAt": "2026-05-02T10:25:00Z"
}
]
}