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": "e1bd28f9-ee6e-4f95-8d93-64c3adf34de6",
"HostName": "MyComputer1",
"GroupName": "Test Group",
"FirstSeen": "2025-07-24T20:05:35.6010381Z",
"LastSeen": "2025-07-24T20:05:35.6010381Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "CC3D-2083-5D80-4022-8AC9",
"Expired": false,
"LastChangesUserId": "e93e0580-a75f-4b23-acbb-d98b0b3b836b",
"MachineId": "44F95D5D807447389C4E2A52213B5CED:::3A173AD8A84947899B25E88A18F6537F:::3A173AD8A84947899B25E88A18F6537F",
"PolicyId": "671fc087-aedb-476f-bdb6-4451818ec154",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "0751ef3d-2764-422c-83b8-b65dfa6b5268",
"PolicyName": "Test Policy",
"LastInfected": "2025-09-24T20:05:35.6010381Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 2,
"InternalIP": "10.121.42.94",
"MACAddress": "E8-94-3A-F4-9E-61",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.188.99.247",
"Deactivated": false,
"LastScanSeq": "543365935",
"ModifiedDate": "2025-12-17T20:05:35.6010381Z",
"IsolationStatus": "UNISOLATED",
"ActiveModules": [
"endpoint"
]
},
{
"Seq": 2,
"EndpointId": "4ebd8e65-da8e-4d9d-9545-15c8a8c6ecde",
"HostName": "MyComputer2",
"GroupName": "Test Group",
"FirstSeen": "2025-02-24T20:05:35.6010381Z",
"LastSeen": "2025-02-24T20:05:35.6010381Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "CC3D-2083-5D80-4022-8AC9",
"Expired": false,
"LastChangesUserId": "1ca78b6d-66bb-4514-9217-069d1bba4ef4",
"MachineId": "E2C00B98F1A34934A9C2E3B70F6B0CA1:::938C25A1BEFB4D529CBE1F2000F6294A:::938C25A1BEFB4D529CBE1F2000F6294A",
"PolicyId": "defa8614-cbe7-4800-a03c-5ac0459d3340",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "f9977000-c79b-40f6-afd2-18e8cff5896a",
"PolicyName": "Test Policy",
"LastInfected": "2025-06-24T20:05:35.6010381Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 4,
"InternalIP": "10.225.115.9",
"MACAddress": "75-3C-6D-DE-5A-03",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.18.44.6",
"Deactivated": false,
"LastScanSeq": "1191687228",
"ModifiedDate": "2025-12-10T20:05:35.6010381Z",
"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>e1bd28f9-ee6e-4f95-8d93-64c3adf34de6</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-07-24T20:05:35.6010381Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>0751ef3d-2764-422c-83b8-b65dfa6b5268</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer1</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.121.42.94</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>e93e0580-a75f-4b23-acbb-d98b0b3b836b</LastChangesUserId>
<LastInfected>2025-09-24T20:05:35.6010381Z</LastInfected>
<LastPublicIP>95.188.99.247</LastPublicIP>
<LastScanSeq>543365935</LastScanSeq>
<LastSeen>2025-07-24T20:05:35.6010381Z</LastSeen>
<LicenseKey>CC3D-2083-5D80-4022-8AC9</LicenseKey>
<MACAddress>E8-94-3A-F4-9E-61</MACAddress>
<Mac>false</Mac>
<MachineId>44F95D5D807447389C4E2A52213B5CED:::3A173AD8A84947899B25E88A18F6537F:::3A173AD8A84947899B25E88A18F6537F</MachineId>
<MaxUsers>2</MaxUsers>
<ModifiedDate>2025-12-17T20:05:35.6010381Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>671fc087-aedb-476f-bdb6-4451818ec154</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>4ebd8e65-da8e-4d9d-9545-15c8a8c6ecde</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-02-24T20:05:35.6010381Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>f9977000-c79b-40f6-afd2-18e8cff5896a</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer2</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.225.115.9</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>1ca78b6d-66bb-4514-9217-069d1bba4ef4</LastChangesUserId>
<LastInfected>2025-06-24T20:05:35.6010381Z</LastInfected>
<LastPublicIP>95.18.44.6</LastPublicIP>
<LastScanSeq>1191687228</LastScanSeq>
<LastSeen>2025-02-24T20:05:35.6010381Z</LastSeen>
<LicenseKey>CC3D-2083-5D80-4022-8AC9</LicenseKey>
<MACAddress>75-3C-6D-DE-5A-03</MACAddress>
<Mac>false</Mac>
<MachineId>E2C00B98F1A34934A9C2E3B70F6B0CA1:::938C25A1BEFB4D529CBE1F2000F6294A:::938C25A1BEFB4D529CBE1F2000F6294A</MachineId>
<MaxUsers>4</MaxUsers>
<ModifiedDate>2025-12-10T20:05:35.6010381Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>defa8614-cbe7-4800-a03c-5ac0459d3340</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>