# Fetches deployment details for a specific custom group Retrieves all deployment configurations associated with a custom group including per-deployment status counts for installed, failed, and pending targets. ## Endpoints **GET** `/dcapi/swDeployment/cgDeployments` ## Request ### Request URL https://[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/swDeployment/cgDeployments ### Scope `DesktopCentralCloud.SWDeployment.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` **Mandatory** - `application/cgDeployments.v1+json` #### Query Parameters - **customGroupId** `long` **Mandatory** - Resource ID of the custom group. Obtain from the `groupResourceId` field in the response of the [List SSP Publish Groups](https://www.manageengine.com/products/desktop-central/help/api/cloud/self-service-portal-list-publish-groups.html) API. ### Sample Request ```curl curl --request GET \ --url 'https://appdomains/dcapi/swDeployment/cgDeployments?customGroupId=SOME_INTEGER_VALUE' \ --header 'Accept: application/cgDeployments.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — `application/json` - `JSON Object` - **customGroupId** `long` - Resource ID of the custom group - **deploymentDetails** `JSON Array` - Array of deployment configurations ### HTTP Code 500 #### Response Body — `application/json` - `JSON Object` - **errorCode** `string` - `INTERNAL_ERROR` for publish/modify failures, `SW_INTERNAL_ERROR` for SSP configuration errors - **errorMessage** `string` - Internal server error with details about the SSP publish or group operation failure ### Possible Response Codes - **200** `HTTP code` - **500** `HTTP code` ### Sample Response: HTTP 200 Group has active deployments ```json { "deploymentDetails": [ { "failedCount": 5, "installedCount": 35, "packageName": "7-Zip 23.01", "totalTargets": 50, "collectionId": 5001, "status": "In Progress", "yetToInstallCount": 10 } ], "customGroupId": 301 } ``` ### Sample Response: HTTP 500 Server error ```json { "errorMessage": "Internal Server Error", "errorCode": "INTERNAL_ERROR" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **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.