# Retrieve a list of all groups available in MDM Get the group details List ## Endpoint `GET /api/v1/mdm/groups` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/groups` ## Scope `MDMDeviceMgmt.READ` ## Header `Authorization: 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 - **select_all** `boolean` — Optional: When true, applies the operation to every record matching the current filter rather than to specific IDs. Default: false - **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 ## Sample Request ```curl curl --request GET \ --url 'https://appdomain/api/v1/mdm/groups?limit=SOME_INTEGER_VALUE&skip-token=SOME_STRING_VALUE&offset=SOME_INTEGER_VALUE&delta-token=SOME_STRING_VALUE&group_type=SOME_STRING_VALUE&search=SOME_STRING_VALUE&select_all=SOME_BOOLEAN_VALUE&scopeGroupOnly=SOME_BOOLEAN_VALUE&summary=SOME_BOOLEAN_VALUE&group_category=SOME_STRING_VALUE' \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### 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.