Clients
Per-client records — one row per (gateway, MAC) observed in the last 5 minutes. Use this when you need to inspect individual devices (MAC, IP, hostname) rather than aggregate counts. For aggregated counts per gateway, see Connected Clients.
List clients GET /v1/clients
Returns a paginated list of clients observed in the last 5 minutes, using cursor-based pagination.
Query parameters
pageSizeintegerNumber of records to return. Default
100, min1, max500.pageTokenstringCursor from the previous response's
pageInfo.nextPageToken. Omit for the first page.
Response object
timetimestampWhen this client was last observed.
deviceNamestringName of the gateway or access point the client is connected to.
hostnamestringClient device hostname / model string reported by the gateway.
gatewayIdstringUnique identifier of the gateway.
macstringClient MAC address.
ipAddressstringClient IP address.
Pagination
The response includes a pageInfo object. Pass pageInfo.nextPageToken as pageToken in the next request to retrieve the following page. When hasNextPage is false you have reached the end.
- cURL
- JavaScript
- Go
- PHP
curl "https://polaris.revlv.com/v1/clients?pageSize=100" \
-H "Authorization: Bearer {token}"
const res = await fetch('https://polaris.revlv.com/v1/clients?pageSize=100', {
headers: { 'Authorization': 'Bearer {token}' },
});
const { data, pageInfo } = await res.json();
// Fetch next page
if (pageInfo.hasNextPage) {
const next = await fetch(
`https://polaris.revlv.com/v1/clients?pageToken=${pageInfo.nextPageToken}`,
{ headers: { 'Authorization': 'Bearer {token}' } }
);
}
req, _ := http.NewRequest("GET", "https://polaris.revlv.com/v1/clients?pageSize=100", 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/clients', [
'headers' => ['Authorization' => 'Bearer {token}'],
'query' => ['pageSize' => 100],
]);
echo $response->getBody();
{
"data": [
{
"time": "2026-05-02T08:15:00.000000Z",
"deviceName": "Site A Gateway",
"hostname": "OPPO-A5s",
"gatewayId": "d1e2f3a4-b5c6-7890-abcd-ef1234567890",
"mac": "aa:bb:cc:dd:ee:ff",
"ipAddress": "192.168.1.42"
},
{
"time": "2026-05-02T08:14:55.000000Z",
"deviceName": "Site A Gateway",
"hostname": "Infinix-HOT-60i",
"gatewayId": "d1e2f3a4-b5c6-7890-abcd-ef1234567890",
"mac": "bb:cc:dd:ee:ff:00",
"ipAddress": "192.168.1.43"
}
],
"pageInfo": {
"hasNextPage": true,
"nextPageToken": "ZDFlMmYzYTQtYjVjNi03ODkwLWFiY2QtZWYxMjM0NTY3ODkwfGJiOmNjOmRkOmVlOmZmOjAw"
}
}