Connected Clients
A short summary of today's connected clients, grouped by gateway. You get one row per gateway with the 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.
Query parameters
namestringMatches any part of the gateway's name (
deviceName), ignoring case. For example,name=site areturns only gateways whose name contains "site a". A gateway with no name never matches.workspaceIdstringLimit the response to one workspace. Use an id returned by
GET /v1/workspaces: the token's own workspace or one nested under it. Leave it out to include every workspace your token can reach. An id your token can't reach returns403.
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.
- cURL
- JavaScript
- Go
- PHP
curl "https://polaris.revlv.com/v1/connected_clients?name=Site%20A" \
-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();
{
"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"
}
]
}