Returns complete details of a custom group identified by name. Fetch the cgName from Retrieve All Custom Groups. For static groups, includes the list of member resources and associated domains. For dynamic groups, includes the criteria list, renderability status, and filter criteria used for automatic member population — column definitions referenced in the returned criteriaList (columnId, columnValue, comparator) are documented at Get Dynamic CG Criteria Pattern.
get /api/1.4/customgroup/getCGDetails
https://{serverurl}/api/1.4/customgroup/getCGDetails
DesktopCentralCloud.Common.READCopied!
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Must be application/json. Only JSON responses are supported.
Exact name of the custom group to retrieve. Case-sensitive match. Fetch names from Retrieve All Custom Groups.
curl --request GET \
--url 'https://appdomain/api/1.4/customgroup/getCGDetails?cgName=SOME_STRING_VALUE' \
--header 'Accept: application/json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Always 'getCGDetails' for this endpoint.
Response payload container.
Response payload.
Operation result: 'success' when the request completed without errors.
Wrapper containing the success message and full group detail.
Fixed success string: 'Operation has been completed successfully'.
Full custom group object with conditional fields based on group category.
Unique resource ID of the custom group. Use as cgId in Delete CG, as groupId in the request body of Update Static CG / Update Static Unique CG / Update Dynamic CG, or as sourceCGId in Clone Dynamic CG.
Display name of the custom group.
Human-readable type: 'Computers' or 'Users'.
Human-readable category: 'Static', 'Dynamic', or 'Static Unique'.
NetBIOS domain name. 'NA' for dynamic groups.
Creation timestamp in milliseconds since epoch.
Last modification timestamp in milliseconds since epoch.
[Static/Static Unique only] Active domains associated with this CG, sourced from the CG-to-domain mapping (not derived from current groupMembers). Returned as JSON array of NetBIOS strings.
[Static/Static Unique] Array of member resources with ID, name, domain, and type.
Unique resource ID of the member (returned as string). Use in resourceIds array when calling Create Static CG, Create Static Unique CG, Update Static CG, or Update Static Unique CG.
Display name of the member (computer hostname or AD username).
NetBIOS domain the member belongs to.
[Computer groups only] OS platform identifier (e.g., 1=Windows, 2=Mac, 3=Linux). Absent for user groups.
[Dynamic only] true if the SQL query can be rendered in the UI; false for complex or deprecated criteria.
[Dynamic only] Array of filter criteria objects defining how members are automatically selected.
Criteria column ID. Same value space as filterCriteriaRequestItem.columnId.
How this criteria joins with the next: 'AND' or 'OR'.
Comparison operator. Values: 'equal', 'not equal', 'contains', 'not contains', 'starts with', 'not starts with', 'ends with', 'greater than', 'greater or equal', 'less than', 'less or equal', 'between', 'not between', 'on', 'after', 'before'.
Array of string values being compared against.
[Script-based criteria only] Script execution parameters: exit code, script ID, name, and description.
Comma-separated expected exit codes (e.g., '0' for success, '0,1' for success or warning).
Resource ID of the custom script in the scripts repository.
File name of the script (e.g., 'ComplianceCheck.bat').
Human-readable description of what the script checks.
Human-readable column name (e.g., 'Operating System', 'Software Name'). Returned by getCGDetails only.
Internal DB column reference (e.g., 'OS_NAME', 'SOFTWARE_NAME'). Discover valid columns via Get Dynamic CG Criteria Pattern. Returned by getCGDetails only.
Localized display text for the comparator (e.g., 'is', 'is not', 'contains'). Returned by getCGDetails only.
Localized display text for the logical operator (e.g., 'AND', 'OR'). Returned by getCGDetails only.
Localized display name of the criteria column. Returned by getCGDetails only.
[Script-based criteria only] OS platform the script targets: 0=All, 1=Windows, 2=Mac, 3=Linux. Populated from additionalCriteriaRules and emitted only when the criterion has non-empty additionalValues (i.e., script-based criteria). Absent for plain column criteria.
[Dynamic only] How criteria are joined using 1-based positional indices into criteriaList (e.g., '1', '1 AND 2', '(1 AND 2) OR 3').
API version: '1.4'.
'success' when the request completed without errors.
Always 'getCGDetails' for this endpoint.
API version: '1.4'.
Always 'error' for error responses.
Internal error code: '20015' (group name does not exist).
Human-readable error message.
Always 'getCGDetails' for this endpoint.
API version: '1.4'.
Always 'error' for error responses.
Internal error code: '20011' (group name empty).
Human-readable error message.
Always 'getCGDetails' for this endpoint.
API version: '1.4'.
Always 'error' for error responses.
Internal error code: '20003' (no managed domains).
Human-readable error message.
Always 'getCGDetails' for this endpoint.
API version: '1.4'.
Always 'error' for error responses.
Internal error code: '1003' (INTERNAL_ERROR).
Resolved I18N message, typically: An internal error occurred while processing the request.
Static computer group with members across multiple domains.
{
"message_type": "getCGDetails",
"message_response": {
"getcgdetails": {
"response": {
"result": {
"groupMembers": [
{
"resourceId": "101",
"domainName": "CORP",
"name": "SRV-DC01",
"osPlatform": "1"
},
{
"resourceId": "102",
"domainName": "CORP",
"name": "SRV-APP01",
"osPlatform": "1"
},
{
"resourceId": "201",
"domainName": "BRANCH1",
"name": "SRV-FILE01",
"osPlatform": "1"
}
],
"domain_name": "CORP",
"group_category": "Static",
"group_id": 301,
"group_name": "Windows Servers",
"group_modified_on": 1710412000000,
"domains": [
"CORP",
"BRANCH1"
],
"group_created_on": 1710325600000,
"group_type": "Computers"
},
"message": "Operation has been completed successfully"
},
"operation_status": "success"
}
},
"message_version": "1.4",
"status": "success"
}
Dynamic computer group with multi-criteria filter and renderability flag.
{
"message_type": "getCGDetails",
"message_response": {
"getcgdetails": {
"response": {
"result": {
"domain_name": "NA",
"group_category": "Dynamic",
"group_id": 302,
"group_name": "Windows 11 PCs",
"group_modified_on": 1710500000000,
"isRenderable": true,
"group_created_on": 1710325600000,
"group_type": "Computers",
"criteriaList": [
{
"comparator": "contains",
"I18NComparator": "contains",
"logicalOperator": "AND",
"columnId": 1,
"columnValue": "OS_NAME",
"columnNameI18N": "Operating System",
"criteriaValue": [
"Windows 11"
],
"columnName": "OS_NAME",
"I18NOperator": "AND"
},
{
"comparator": "equal",
"I18NComparator": "is",
"logicalOperator": "AND",
"columnId": 3,
"columnValue": "PROCESSOR_ARCH_NAME",
"columnNameI18N": "System Type",
"criteriaValue": [
"64-bit"
],
"columnName": "PROCESSOR_ARCH_NAME",
"I18NOperator": "AND"
}
],
"criteriaPattern": "1 AND 2"
},
"message": "Operation has been completed successfully"
},
"operation_status": "success"
}
},
"message_version": "1.4",
"status": "success"
}
Dynamic group with script-based criteria showing additionalValues and isRenderable=false.
{
"message_type": "getCGDetails",
"message_response": {
"getcgdetails": {
"response": {
"result": {
"domain_name": "NA",
"group_category": "Dynamic",
"group_id": 310,
"group_name": "Compliant Machines",
"group_modified_on": 1709100000000,
"isRenderable": false,
"group_created_on": 1709000000000,
"group_type": "Computers",
"criteriaList": [
{
"comparator": "equal",
"I18NComparator": "is",
"applicableOS": 1,
"logicalOperator": "AND",
"columnId": 22,
"columnValue": "CUSTOM_SCRIPT",
"columnNameI18N": "Custom Script",
"criteriaValue": [
"0"
],
"additionalValues": {
"scriptId": "5001",
"exitCode": "0",
"scriptName": "ComplianceCheck.bat",
"description": "Verifies security compliance"
},
"columnName": "CUSTOM_SCRIPT",
"I18NOperator": "AND"
}
],
"criteriaPattern": "1"
},
"message": "Operation has been completed successfully"
},
"operation_status": "success"
}
},
"message_version": "1.4",
"status": "success"
}
Static Unique (category=5) computer group — used for technician-level sharing constraints with exclusive member resources.
{
"message_type": "getCGDetails",
"message_response": {
"getcgdetails": {
"response": {
"result": {
"groupMembers": [
{
"resourceId": "401",
"domainName": "CORP",
"name": "FIN-WS01",
"osPlatform": "1"
},
{
"resourceId": "402",
"domainName": "CORP",
"name": "FIN-WS02",
"osPlatform": "1"
},
{
"resourceId": "403",
"domainName": "CORP",
"name": "FIN-SRV01",
"osPlatform": "1"
}
],
"domain_name": "CORP",
"group_category": "Static Unique",
"group_id": 303,
"group_name": "Finance OU Computers",
"group_modified_on": 1710500000000,
"domains": [
"CORP"
],
"group_created_on": 1710240000000,
"group_type": "Computers"
},
"message": "Operation has been completed successfully"
},
"operation_status": "success"
}
},
"message_version": "1.4",
"status": "success"
}
Static user group with managed user members.
{
"message_type": "getCGDetails",
"message_response": {
"getcgdetails": {
"response": {
"result": {
"groupMembers": [
{
"resourceId": "501",
"domainName": "CORP",
"name": "jsmith"
},
{
"resourceId": "502",
"domainName": "CORP",
"name": "mjones"
}
],
"domain_name": "CORP",
"group_category": "Static",
"group_id": 304,
"group_name": "HR Users",
"group_modified_on": 1710150000000,
"domains": [
"CORP"
],
"group_created_on": 1710150000000,
"group_type": "Users"
},
"message": "Operation has been completed successfully"
},
"operation_status": "success"
}
},
"message_version": "1.4",
"status": "success"
}
No group found with the specified exact name.
{
"error_description": "MyGroup does not exist",
"message_type": "getCGDetails",
"error_code": "20015",
"message_version": "1.4",
"status": "error"
}
Group exists but name case does not match.
{
"error_description": "windows servers does not exist : Maybe Case Sensitive",
"message_type": "getCGDetails",
"error_code": "20015",
"message_version": "1.4",
"status": "error"
}
The cgName query parameter was not provided or is blank.
{
"error_description": "Group name should not be empty",
"message_type": "getCGDetails",
"error_code": "20011",
"message_version": "1.4",
"status": "error"
}
Server has no managed AD/workgroup domains configured.
{
"error_description": "No managed domain(s) available",
"message_type": "getCGDetails",
"error_code": "20003",
"message_version": "1.4",
"status": "error"
}
Unexpected server-side failure retrieving custom group details.
{
"error_description": "An internal error occurred while processing the request.",
"message_type": "getCGDetails",
"error_code": "1003",
"message_version": "1.4",
"status": "error"
}
![]()
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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.