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": "77501b96-c85c-4cb6-afbe-e14b311cc206",
"HostName": "MyComputer1",
"GroupName": "Test Group",
"FirstSeen": "2025-07-25T21:55:35.091148Z",
"LastSeen": "2025-07-25T21:55:35.091148Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "8481-CD20-CC78-40BB-A03D",
"Expired": false,
"LastChangesUserId": "916eb234-a031-4e93-b61b-fea1d6f8615d",
"MachineId": "01B5476B36D44B07ACF6D83149EAFBCB:::95A1BF169CF94D77A404B67A2F77A48C:::95A1BF169CF94D77A404B67A2F77A48C",
"PolicyId": "8d9e7ea7-c740-4c4e-bed2-184b9a3e82c6",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "dc830ab7-8139-44a3-bfa9-f31db96a7e48",
"PolicyName": "Test Policy",
"LastInfected": "2025-09-25T21:55:35.091148Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 2,
"InternalIP": "10.1.33.104",
"MACAddress": "5C-61-0C-D8-BC-FA",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.48.144.83",
"Deactivated": false,
"LastScanSeq": "673119095",
"ModifiedDate": "2025-12-18T21:55:35.091148Z",
"IsolationStatus": "UNISOLATED",
"ActiveModules": [
"endpoint"
]
},
{
"Seq": 2,
"EndpointId": "4866e245-c28d-4192-a321-554fe4d82120",
"HostName": "MyComputer2",
"GroupName": "Test Group",
"FirstSeen": "2025-02-25T21:55:35.091148Z",
"LastSeen": "2025-02-25T21:55:35.091148Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "8481-CD20-CC78-40BB-A03D",
"Expired": false,
"LastChangesUserId": "2d73e810-0588-4deb-8a3d-e9753e6d7b0d",
"MachineId": "818AA5FA9175475DB33BC2876ADD32F7:::051DED30F25A4B7E88DBECD547611AB9:::051DED30F25A4B7E88DBECD547611AB9",
"PolicyId": "d1464698-8cdd-46cb-ad29-242c1708e541",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "9dfcd432-da11-43df-a1ee-7ecc8d6958a4",
"PolicyName": "Test Policy",
"LastInfected": "2025-06-25T21:55:35.091148Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 4,
"InternalIP": "10.191.236.209",
"MACAddress": "38-59-92-5A-55-8F",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.68.143.167",
"Deactivated": false,
"LastScanSeq": "2105037905",
"ModifiedDate": "2025-12-11T21:55:35.091148Z",
"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>77501b96-c85c-4cb6-afbe-e14b311cc206</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-07-25T21:55:35.091148Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>dc830ab7-8139-44a3-bfa9-f31db96a7e48</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer1</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.1.33.104</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>916eb234-a031-4e93-b61b-fea1d6f8615d</LastChangesUserId>
<LastInfected>2025-09-25T21:55:35.091148Z</LastInfected>
<LastPublicIP>95.48.144.83</LastPublicIP>
<LastScanSeq>673119095</LastScanSeq>
<LastSeen>2025-07-25T21:55:35.091148Z</LastSeen>
<LicenseKey>8481-CD20-CC78-40BB-A03D</LicenseKey>
<MACAddress>5C-61-0C-D8-BC-FA</MACAddress>
<Mac>false</Mac>
<MachineId>01B5476B36D44B07ACF6D83149EAFBCB:::95A1BF169CF94D77A404B67A2F77A48C:::95A1BF169CF94D77A404B67A2F77A48C</MachineId>
<MaxUsers>2</MaxUsers>
<ModifiedDate>2025-12-18T21:55:35.091148Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>8d9e7ea7-c740-4c4e-bed2-184b9a3e82c6</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>4866e245-c28d-4192-a321-554fe4d82120</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-02-25T21:55:35.091148Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>9dfcd432-da11-43df-a1ee-7ecc8d6958a4</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer2</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.191.236.209</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>2d73e810-0588-4deb-8a3d-e9753e6d7b0d</LastChangesUserId>
<LastInfected>2025-06-25T21:55:35.091148Z</LastInfected>
<LastPublicIP>95.68.143.167</LastPublicIP>
<LastScanSeq>2105037905</LastScanSeq>
<LastSeen>2025-02-25T21:55:35.091148Z</LastSeen>
<LicenseKey>8481-CD20-CC78-40BB-A03D</LicenseKey>
<MACAddress>38-59-92-5A-55-8F</MACAddress>
<Mac>false</Mac>
<MachineId>818AA5FA9175475DB33BC2876ADD32F7:::051DED30F25A4B7E88DBECD547611AB9:::051DED30F25A4B7E88DBECD547611AB9</MachineId>
<MaxUsers>4</MaxUsers>
<ModifiedDate>2025-12-11T21:55:35.091148Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>d1464698-8cdd-46cb-ad29-242c1708e541</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>