# Lists all application groups configured in the system Returns every application group (whitelist, blacklist) along with metadata such as rule count, associated custom groups, and timestamps. ## Endpoints `GET /dcapi/appctrl/appgroups` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/appctrl/appgroups` ## Scope `DesktopCentralCloud.AppControl.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accepts** `string` — Mandatory: `application/getAllAppGroups.v1+json` ## Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/appctrl/appgroups \ --header 'Accepts: application/getAllAppGroups.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` `JSON Object` | Attribute | Type | Description | |---|---|---| | groupID | long | Unique identifier for the application group | | appGroupName | string | Name of the application group | | appGroupType | integer | Type of application group (1=Whitelist, 2=Blacklist, 3=Privilege) | | platformID | integer | Platform ID (1=Windows, 2=Mac) | | appGroupCategory | integer | Category (1=User Defined, 2=System) | | applicationRuleCount | long | Total count of application rules in the group | | associatedCustomGroupCount | long | Count of custom groups associated with this app group | | description | string | Description of the application group | | createdTime | long | Creation timestamp in milliseconds since epoch | | modifiedTime | long | Last modification timestamp in milliseconds since epoch | #### Sample Response: HTTP 200 List of application groups ```json [ { "modifiedTime": 1700100000000, "associatedCustomGroupCount": 3, "appGroupName": "Whitelist Group 1", "appGroupType": 1, "groupID": 101, "description": "Default whitelist group", "createdTime": 1700000000000, "appGroupCategory": 1, "platformID": 1, "applicationRuleCount": 25 } ] ``` ### HTTP Code 401 Response Body — `application/json` `JSON Object` | Attribute | Type | Description | |---|---|---| | errorCode | long | Unauthorized error code: credentials missing, expired, or invalid | | errorMsg | string | Authentication failure reason | #### Sample Response: HTTP 401 Authentication credentials missing or invalid ```json { "errorMessage": "Authentication credentials are missing or invalid", "errorCode": "UNAUTHORIZED" } ``` ### HTTP Code 500 Response Body — `application/json` `JSON Object` | Attribute | Type | Description | |---|---|---| | errorCode | string | Internal error code: INTERNAL_ERROR when exception occurs fetching app groups | | errorMessage | string | Detailed message: Exception Occurred While getting AppGroups | #### Sample Response: HTTP 500 Internal error while fetching application groups ```json { "errorMessage": "Exception Occurred While getting AppGroups", "errorCode": "INTERNAL_ERROR" } ``` ## Possible Response Codes - **200** — HTTP code - **401** — HTTP code - **500** — HTTP code ## Rate Limit ![](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.