GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints
?type={type}
&hostName={hostName}
&machineId={machineId}
&order={order}
&orderDirection={orderDirection}
&pageSize={pageSize}
&pageNr={pageNr}
Gets the list of endpoints on a given GSM site.
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| gsmKey |
The GSM console keycode. |
string |
Required |
| siteId |
The site identifier. |
string |
Required |
| type |
Can be set to "active" (returns active endpoints only) or "deactivated" (returns deactivated endpoints only). If this parameter is omitted, endpoints regardless of their activation state are returned. |
string |
None. |
| hostName |
Used to search for a particular hostname. |
string |
None. |
| machineId |
Used to search for a particular machine. |
string |
None. |
| order |
Used to determine the order field. Valid values are "hostname", "firstseen", "lastseen", "agentversion", "lastinfected". Default value is "hostname". |
string |
None. |
| orderDirection |
Used to sort the data. "A" for ascending, "D" for descending. If orderDirection is omitted or invalid, the data will be sorted in ascending order. |
string |
None. |
| pageSize |
Specifies the number of records being returned. |
integer |
Default value is 50 |
| pageNr |
Specifies the page number. Can be used to retrieve the next batch of records. Default value is 1. |
integer |
Default value is 1 |
URI Sample(s)
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints
|
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?type=active
|
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?hostName=MyComputer1
|
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?machineId=e12cee848565435b8533ec7540366f13:::9a3ff75d83634d1386af15c238b575fb:::9a3ff75d83634d1386af15c238b575fb
|
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?pageSize=100&pageNr=3
|
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?order=lastseen&orderDirection=A
|
Body Parameters
None.
Response Information
Resource Description
Information about the list of endpoints on a given GSM site.
GetEndpointsResponseModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| TotalAvailable |
Use this value to determine if you need to retrieve additional pages of data. If TotalAvailable is larger than PageNr * PageSize then more endpoints are available. |
integer |
None. |
| PageNr |
The number of the page that was request. |
integer |
None. |
| PageSize |
The size of the page that was requested. |
integer |
None. |
| Endpoints |
List of endpoint records. |
Collection of GetEndpointsResponseModel_Endpoint |
None. |
Sample Response
{
"TotalAvailable": 2,
"PageNr": 1,
"PageSize": 50,
"Endpoints": [
{
"Seq": 1,
"EndpointId": "beffe8cf-b827-48d8-84af-0928f79129bf",
"HostName": "MyComputer1",
"GroupName": "Test Group",
"FirstSeen": "2025-06-13T12:03:15.4278451Z",
"LastSeen": "2025-06-13T12:03:15.4278451Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "54C5-9D45-C7F2-4BB5-B43B",
"Expired": false,
"LastChangesUserId": "20d93bd7-6fad-4509-b4ad-ee5f3ba5a77c",
"MachineId": "4D56CD0FE32F417F9B898B1BF0EA5D1E:::201B71AAA0D4407EA572155FCB2644DE:::201B71AAA0D4407EA572155FCB2644DE",
"PolicyId": "ffa0ad35-babc-4075-bd01-67e088e2eebb",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "25bb9c35-670f-4648-a09d-fa0966fbdbf2",
"PolicyName": "Test Policy",
"LastInfected": "2025-08-13T12:03:15.4278451Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 2,
"InternalIP": "10.80.97.213",
"MACAddress": "74-FE-96-4F-01-1F",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.97.27.104",
"Deactivated": false,
"LastScanSeq": "1145281352",
"ModifiedDate": "2025-11-06T12:03:15.4278451Z",
"IsolationStatus": "UNISOLATED",
"ActiveModules": [
"endpoint"
]
},
{
"Seq": 2,
"EndpointId": "bffdd961-f8f5-46a8-b28a-421bed7743b8",
"HostName": "MyComputer2",
"GroupName": "Test Group",
"FirstSeen": "2025-01-13T12:03:15.4278451Z",
"LastSeen": "2025-01-13T12:03:15.4278451Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "54C5-9D45-C7F2-4BB5-B43B",
"Expired": false,
"LastChangesUserId": "b1fbea9e-782b-4fcb-857e-fc406ffb9d19",
"MachineId": "3C50970C5AA2449EA9447377F4EE714C:::02FF3FE015B04F7F8ECD6243E8D22042:::02FF3FE015B04F7F8ECD6243E8D22042",
"PolicyId": "83a01c64-90f7-4047-96c0-3897a3c888fb",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "74f55e1a-e78a-46af-b71f-43a68555d39a",
"PolicyName": "Test Policy",
"LastInfected": "2025-05-13T12:03:15.4278451Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 4,
"InternalIP": "10.17.59.186",
"MACAddress": "C7-4A-19-45-D2-BF",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.41.107.253",
"Deactivated": false,
"LastScanSeq": "1262794971",
"ModifiedDate": "2025-10-30T12:03:15.4278451Z",
"IsolationStatus": "UNISOLATED",
"ActiveModules": [
"endpoint"
]
}
]
}
<GetEndpointsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
<Endpoints>
<GetEndpointsResponseModel_Endpoint>
<ADDomain>domain.webroot.com</ADDomain>
<ADOU>Webroot.Computers</ADOU>
<ActiveModules xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>endpoint</d4p1:string>
</ActiveModules>
<AgentLanguage>en</AgentLanguage>
<AgentVersion>9.0.13.58</AgentVersion>
<CurrentUser>Paul</CurrentUser>
<Deactivated>false</Deactivated>
<EndpointId>beffe8cf-b827-48d8-84af-0928f79129bf</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-06-13T12:03:15.4278451Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>25bb9c35-670f-4648-a09d-fa0966fbdbf2</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer1</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.80.97.213</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>20d93bd7-6fad-4509-b4ad-ee5f3ba5a77c</LastChangesUserId>
<LastInfected>2025-08-13T12:03:15.4278451Z</LastInfected>
<LastPublicIP>95.97.27.104</LastPublicIP>
<LastScanSeq>1145281352</LastScanSeq>
<LastSeen>2025-06-13T12:03:15.4278451Z</LastSeen>
<LicenseKey>54C5-9D45-C7F2-4BB5-B43B</LicenseKey>
<MACAddress>74-FE-96-4F-01-1F</MACAddress>
<Mac>false</Mac>
<MachineId>4D56CD0FE32F417F9B898B1BF0EA5D1E:::201B71AAA0D4407EA572155FCB2644DE:::201B71AAA0D4407EA572155FCB2644DE</MachineId>
<MaxUsers>2</MaxUsers>
<ModifiedDate>2025-11-06T12:03:15.4278451Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>ffa0ad35-babc-4075-bd01-67e088e2eebb</PolicyId>
<PolicyName>Test Policy</PolicyName>
<Seq>1</Seq>
<VM>false</VM>
<WindowsFullOS>Windows 7 Service Pack 1 (Build 7601) 64bit</WindowsFullOS>
<Workgroup>WORKGROUP</Workgroup>
</GetEndpointsResponseModel_Endpoint>
<GetEndpointsResponseModel_Endpoint>
<ADDomain>domain.webroot.com</ADDomain>
<ADOU>Webroot.Computers</ADOU>
<ActiveModules xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>endpoint</d4p1:string>
</ActiveModules>
<AgentLanguage>en</AgentLanguage>
<AgentVersion>9.0.13.58</AgentVersion>
<CurrentUser>Paul</CurrentUser>
<Deactivated>false</Deactivated>
<EndpointId>bffdd961-f8f5-46a8-b28a-421bed7743b8</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-01-13T12:03:15.4278451Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>74f55e1a-e78a-46af-b71f-43a68555d39a</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer2</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.17.59.186</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>b1fbea9e-782b-4fcb-857e-fc406ffb9d19</LastChangesUserId>
<LastInfected>2025-05-13T12:03:15.4278451Z</LastInfected>
<LastPublicIP>95.41.107.253</LastPublicIP>
<LastScanSeq>1262794971</LastScanSeq>
<LastSeen>2025-01-13T12:03:15.4278451Z</LastSeen>
<LicenseKey>54C5-9D45-C7F2-4BB5-B43B</LicenseKey>
<MACAddress>C7-4A-19-45-D2-BF</MACAddress>
<Mac>false</Mac>
<MachineId>3C50970C5AA2449EA9447377F4EE714C:::02FF3FE015B04F7F8ECD6243E8D22042:::02FF3FE015B04F7F8ECD6243E8D22042</MachineId>
<MaxUsers>4</MaxUsers>
<ModifiedDate>2025-10-30T12:03:15.4278451Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>83a01c64-90f7-4047-96c0-3897a3c888fb</PolicyId>
<PolicyName>Test Policy</PolicyName>
<Seq>2</Seq>
<VM>false</VM>
<WindowsFullOS>Windows 7 Service Pack 1 (Build 7601) 64bit</WindowsFullOS>
<Workgroup>WORKGROUP</Workgroup>
</GetEndpointsResponseModel_Endpoint>
</Endpoints>
<PageNr>1</PageNr>
<PageSize>50</PageSize>
<TotalAvailable>2</TotalAvailable>
</GetEndpointsResponseModel>