# Retrieve a list of all groups available in MDM Get the group details List ## Endpoints `GET /api/v1/mdm/groups` ## Request ### Request URL https://[*{serverurl}*](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)/api/v1/mdm/groups ### Scope `MDMOnDemand.MDMDeviceMgmt.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — **Mandatory**: `application/json` #### Query Parameters - **limit** `integer` — Optional Maximum number of records to return in a single response. Used together with offset for pagination. - **skip-token** `string` — Optional - **offset** `integer` — Optional Zero-based index of the first record to return. Used together with limit for pagination. - **delta-token** `string` — Optional - **group_type** `string` — Optional Filter groups by type. Allowed values: 6=Device Group, 7=User Group, 11=Tag Group. Supports comma-separated multiple values. - **search** `string` — Optional Free-text search string applied to the default searchable fields of the resource. - **scopeGroupOnly** `boolean` — Optional - **summary** `boolean` — Optional When true, returns only a lightweight summary projection of the resource instead of full details. Default: false. - **group_category** `string` — Optional Filter groups by category. Allowed values: 1=Static, 2=Dynamic. Supports comma-separated values. - **select_all** `boolean` — Optional When true, applies the operation to every record matching the current filter rather than to specific IDs. Default: false. ### Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/groups \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### HTTP Code 200 Response body: `application/json` - `JSON object` - **metadata** `JSON object` Metadata about the group list response. - **groups** `JSON array` Array of group objects. ### Possible Response Codes - **200** `HTTP code` ### Sample Response: HTTP 200 #### List of all groups available in MDM ```json { "metadata": { "total_record_count": "2", "dynamic_group_count": "0" }, "groups": [ { "created_time": "1776667045100", "group_category": "1", "group_id": "\9504000000015547", "domain": "MDM", "customerid": "9504000000015029", "name": "weqr", "group_ids": [], "description": "--", "group_type": "6" }, { "created_time": "1777360641286", "group_category": "1", "group_id": "9504000000015609", "domain": "MDM", "customerid": "9504000000015029", "name": "user group", "group_ids": [], "description": "--", "group_type": "7" } ] } ``` #### No groups found ```json { "metadata": { "total_record_count": "0", "dynamic_group_count": "0" }, "groups": [] } ``` ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.