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": "c8a02829-63c1-4a5f-9ec1-dc9345b13e05",
"HostName": "MyComputer1",
"GroupName": "Test Group",
"FirstSeen": "2025-07-10T16:27:35.041499Z",
"LastSeen": "2025-07-10T16:27:35.041499Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "DB14-A4C6-B312-4B53-8622",
"Expired": false,
"LastChangesUserId": "e77ea8c5-73d7-4874-aeb3-76acb6e3dede",
"MachineId": "BA55DF2315F943BEB1E7CA14E66734F2:::B9307A14B47748DF830D3D13E6E39110:::B9307A14B47748DF830D3D13E6E39110",
"PolicyId": "440c1ef2-6bd7-4589-9c6d-04170c77774a",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "1574badb-c6fb-472a-ad97-97c59c67ca70",
"PolicyName": "Test Policy",
"LastInfected": "2025-09-10T16:27:35.041499Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 2,
"InternalIP": "10.124.227.66",
"MACAddress": "C4-F0-BC-BA-08-E3",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.153.232.128",
"Deactivated": false,
"LastScanSeq": "1221139400",
"ModifiedDate": "2025-12-03T16:27:35.041499Z",
"IsolationStatus": "UNISOLATED",
"ActiveModules": [
"endpoint"
]
},
{
"Seq": 2,
"EndpointId": "d15ca07a-9201-4089-b201-bdd313c3a486",
"HostName": "MyComputer2",
"GroupName": "Test Group",
"FirstSeen": "2025-02-10T16:27:35.041499Z",
"LastSeen": "2025-02-10T16:27:35.041499Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "DB14-A4C6-B312-4B53-8622",
"Expired": false,
"LastChangesUserId": "4a0c693f-a060-4c64-b062-01255283378a",
"MachineId": "74FDFB820FF54E9FB82B84B2C92FA2E9:::EE57BCE3F3D648439162C670D20BD5A9:::EE57BCE3F3D648439162C670D20BD5A9",
"PolicyId": "b264d0d0-441f-471e-9381-4467478f13bb",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "dedffa4b-8f8b-449a-8f7f-ffccbe00c2ba",
"PolicyName": "Test Policy",
"LastInfected": "2025-06-10T16:27:35.041499Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 4,
"InternalIP": "10.140.44.168",
"MACAddress": "22-35-EA-45-54-16",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.56.186.188",
"Deactivated": false,
"LastScanSeq": "776572516",
"ModifiedDate": "2025-11-26T16:27:35.041499Z",
"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>c8a02829-63c1-4a5f-9ec1-dc9345b13e05</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-07-10T16:27:35.041499Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>1574badb-c6fb-472a-ad97-97c59c67ca70</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer1</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.124.227.66</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>e77ea8c5-73d7-4874-aeb3-76acb6e3dede</LastChangesUserId>
<LastInfected>2025-09-10T16:27:35.041499Z</LastInfected>
<LastPublicIP>95.153.232.128</LastPublicIP>
<LastScanSeq>1221139400</LastScanSeq>
<LastSeen>2025-07-10T16:27:35.041499Z</LastSeen>
<LicenseKey>DB14-A4C6-B312-4B53-8622</LicenseKey>
<MACAddress>C4-F0-BC-BA-08-E3</MACAddress>
<Mac>false</Mac>
<MachineId>BA55DF2315F943BEB1E7CA14E66734F2:::B9307A14B47748DF830D3D13E6E39110:::B9307A14B47748DF830D3D13E6E39110</MachineId>
<MaxUsers>2</MaxUsers>
<ModifiedDate>2025-12-03T16:27:35.041499Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>440c1ef2-6bd7-4589-9c6d-04170c77774a</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>d15ca07a-9201-4089-b201-bdd313c3a486</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-02-10T16:27:35.041499Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>dedffa4b-8f8b-449a-8f7f-ffccbe00c2ba</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer2</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.140.44.168</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>4a0c693f-a060-4c64-b062-01255283378a</LastChangesUserId>
<LastInfected>2025-06-10T16:27:35.041499Z</LastInfected>
<LastPublicIP>95.56.186.188</LastPublicIP>
<LastScanSeq>776572516</LastScanSeq>
<LastSeen>2025-02-10T16:27:35.041499Z</LastSeen>
<LicenseKey>DB14-A4C6-B312-4B53-8622</LicenseKey>
<MACAddress>22-35-EA-45-54-16</MACAddress>
<Mac>false</Mac>
<MachineId>74FDFB820FF54E9FB82B84B2C92FA2E9:::EE57BCE3F3D648439162C670D20BD5A9:::EE57BCE3F3D648439162C670D20BD5A9</MachineId>
<MaxUsers>4</MaxUsers>
<ModifiedDate>2025-11-26T16:27:35.041499Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>b264d0d0-441f-471e-9381-4467478f13bb</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>