---
title: Search devices by device group identifier
slug: cps-guide/mdm-epmm/search-devices-by-device-group-identifier
createdAt: 2026-10-06T07:45:20.666Z
---

This API returns device membership details for device group identifier specified in the search request.

## HTTP Method

GET

## Request URI

/msa/v1/cps/device?ruleId=\<id>\&offset=\<Offset>\&limit=\<Limit>

## Request parameters

| Parameter | Description                                                                                                                      | Sample Value |
| --------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| id        | **Required**<br />**Parameter Type:** Query<br />**Data Type:** String<br />ID of the device group whose device members to find. | 38089        |
| offset    | **Parameter Type:&#x20;**&#x51;uery<br />**Data Type:** Number<br />**Default:** 0                                               | 5            |
| limit     | **Parameter Type:&#x20;**&#x51;uery<br />**Data Type:** String<br />**Default:** 50                                              | 50           |

## Response fields

A list of devices.

See [List of identifiers](docId:0FgXpF4sPOcu6M7eESvy1) and [User](docId\:DK5wUaGcE74hME-EUyNkR).

## Example response

```javascript
{
    "searchResults": [
        {
            "compliant": true, 
            "quarantined": false, 
            "blocked": false, 
            "compromised": false, 
            "status": "ACTIVE", 
            "lastCheckInTime": 1516619820303, 
            "registrationTime": 1516619792690, 
            "identifier": "f4aadce56d25edffggh4958484brr1c35f6b6d5", 
            "imei": "6733284512443420", 
            "macAddress": "fa:c6:7b:0f:eb:ff", 
            "manufacturer": "Apple Inc.", 
            "model": "iPhone6,1", 
            "os": "IOS", 
            "osVersion": "10.1", 
            "phoneNumber": "7171046951", 
            "serialNumber": "d028d4db2162", 
            "userId": "testuser@auto.automation.com", 
            "userUuid": "047rdee6-31c1-4e55a-898d-97de620d5f22", 
            "iosUdid": "f4aadce56d25edffggh4958484brr1c35f6b6d5", 
            "ownership": "UNKNOWN", 
            "customAttributes": {
                "nacCompliant": "false"
            }
        }
    ], 
    "results": 1, 
    "offset": 0, 
    "limit": 50
}
```
