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": "df53dbc2-2980-41bd-9436-aee6b5d1fadc",
"HostName": "MyComputer1",
"GroupName": "Test Group",
"FirstSeen": "2025-06-30T13:13:59.2620704Z",
"LastSeen": "2025-06-30T13:13:59.2620704Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "F13C-3A9A-56D2-4535-9F9D",
"Expired": false,
"LastChangesUserId": "29441f09-440f-4f92-8ea3-dddbca18fd8e",
"MachineId": "30605A8A5CE84A03A23AB1EA5B29A041:::6624AD22576242CAACA34F5DF9426B11:::6624AD22576242CAACA34F5DF9426B11",
"PolicyId": "2ce6f89d-65ec-4046-8ead-cae6a8f99062",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "9e56f4ef-bd5b-45fb-8bdc-a6b953ef6573",
"PolicyName": "Test Policy",
"LastInfected": "2025-08-30T13:13:59.2620704Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 2,
"InternalIP": "10.79.31.232",
"MACAddress": "0B-34-07-81-D9-20",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.72.123.253",
"Deactivated": false,
"LastScanSeq": "266454470",
"ModifiedDate": "2025-11-23T13:13:59.2620704Z",
"IsolationStatus": "UNISOLATED",
"ActiveModules": [
"endpoint"
]
},
{
"Seq": 2,
"EndpointId": "fbd10ce2-7492-4aa3-85d9-11f41efa84b2",
"HostName": "MyComputer2",
"GroupName": "Test Group",
"FirstSeen": "2025-01-30T13:13:59.2620704Z",
"LastSeen": "2025-01-30T13:13:59.2620704Z",
"AgentVersion": "9.0.13.58",
"LicenseKey": "F13C-3A9A-56D2-4535-9F9D",
"Expired": false,
"LastChangesUserId": "d2857e13-3c91-41f8-bb7f-fcbfb6be01ae",
"MachineId": "F8C930F6F4124959B2FA4304B8C2CCA2:::78A79A21ED294864AA8E8DF0F37149BA:::78A79A21ED294864AA8E8DF0F37149BA",
"PolicyId": "6737fad0-8e9e-4576-a82c-d3e9e5e8281c",
"VM": false,
"AgentLanguage": "en",
"FriendlyPCName": "",
"GroupId": "d94e8b27-9aba-4e5b-9f11-da937544f998",
"PolicyName": "Test Policy",
"LastInfected": "2025-05-30T13:13:59.2620704Z",
"InfectedNow": false,
"NumUsers": 1,
"MaxUsers": 4,
"InternalIP": "10.221.158.93",
"MACAddress": "10-73-46-22-A1-ED",
"ADDomain": "domain.webroot.com",
"ADOU": "Webroot.Computers",
"Workgroup": "WORKGROUP",
"CurrentUser": "Paul",
"Mac": false,
"WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit",
"LastPublicIP": "95.65.82.99",
"Deactivated": false,
"LastScanSeq": "587298955",
"ModifiedDate": "2025-11-16T13:13:59.2620704Z",
"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>df53dbc2-2980-41bd-9436-aee6b5d1fadc</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-06-30T13:13:59.2620704Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>9e56f4ef-bd5b-45fb-8bdc-a6b953ef6573</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer1</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.79.31.232</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>29441f09-440f-4f92-8ea3-dddbca18fd8e</LastChangesUserId>
<LastInfected>2025-08-30T13:13:59.2620704Z</LastInfected>
<LastPublicIP>95.72.123.253</LastPublicIP>
<LastScanSeq>266454470</LastScanSeq>
<LastSeen>2025-06-30T13:13:59.2620704Z</LastSeen>
<LicenseKey>F13C-3A9A-56D2-4535-9F9D</LicenseKey>
<MACAddress>0B-34-07-81-D9-20</MACAddress>
<Mac>false</Mac>
<MachineId>30605A8A5CE84A03A23AB1EA5B29A041:::6624AD22576242CAACA34F5DF9426B11:::6624AD22576242CAACA34F5DF9426B11</MachineId>
<MaxUsers>2</MaxUsers>
<ModifiedDate>2025-11-23T13:13:59.2620704Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>2ce6f89d-65ec-4046-8ead-cae6a8f99062</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>fbd10ce2-7492-4aa3-85d9-11f41efa84b2</EndpointId>
<Expired>false</Expired>
<FirstSeen>2025-01-30T13:13:59.2620704Z</FirstSeen>
<FriendlyPCName></FriendlyPCName>
<GroupId>d94e8b27-9aba-4e5b-9f11-da937544f998</GroupId>
<GroupName>Test Group</GroupName>
<HostName>MyComputer2</HostName>
<InfectedNow>false</InfectedNow>
<InternalIP>10.221.158.93</InternalIP>
<IsolationStatus>UNISOLATED</IsolationStatus>
<LastChangesUserId>d2857e13-3c91-41f8-bb7f-fcbfb6be01ae</LastChangesUserId>
<LastInfected>2025-05-30T13:13:59.2620704Z</LastInfected>
<LastPublicIP>95.65.82.99</LastPublicIP>
<LastScanSeq>587298955</LastScanSeq>
<LastSeen>2025-01-30T13:13:59.2620704Z</LastSeen>
<LicenseKey>F13C-3A9A-56D2-4535-9F9D</LicenseKey>
<MACAddress>10-73-46-22-A1-ED</MACAddress>
<Mac>false</Mac>
<MachineId>F8C930F6F4124959B2FA4304B8C2CCA2:::78A79A21ED294864AA8E8DF0F37149BA:::78A79A21ED294864AA8E8DF0F37149BA</MachineId>
<MaxUsers>4</MaxUsers>
<ModifiedDate>2025-11-16T13:13:59.2620704Z</ModifiedDate>
<NumUsers>1</NumUsers>
<PolicyId>6737fad0-8e9e-4576-a82c-d3e9e5e8281c</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>