Returns details of all custom groups including group ID, name, type (Computers/Users), category (Static/Dynamic/Static Unique), associated domain, and creation/modification timestamps. By default, auto-generated system groups (All Computers, All Users) are excluded. The returned groupId values can be passed as cgId to Delete CG or as groupId in the request body of Update Static CG, Update Static Unique CG, or Update Dynamic CG. The returned groupName values can be used with Retrieve Custom Group Details.
get /api/1.4/customgroup/getCGList
https://{serverurl}/api/1.4/customgroup/getCGList
DesktopCentralCloud.Common.READCopied!
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Must be application/json. Only JSON responses are supported.
Include auto-generated system groups (e.g., All Computers, All Users) in the response. Default: false
curl --request GET \
--url https://appdomain/api/1.4/customgroup/getCGList \
--header 'Accept: application/json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Always 'getCGList' for this endpoint.
Response payload container.
Response payload.
Operation result: 'success' when the request completed without errors.
Wrapper containing the success message and result payload.
Fixed success string: 'Operation has been completed successfully'.
Result payload containing the cg_list array.
Array of custom group summaries without member details.
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 (must be unique).
Human-readable type: 'Computers' (groupType=1) or 'Users' (groupType=2).
Human-readable category: 'Static' (1), 'Dynamic' (2), 'Static Unique' (5), or 'All Computer/User Group' (10).
NetBIOS domain name. 'NA' for dynamic groups which are not domain-specific.
Timestamp (ms since epoch) when the group was first created.
Timestamp (ms since epoch) of the last modification to the group or its members.
API version: '1.4'.
'success' when the request completed without errors.
Always 'getCGList' for this endpoint.
API version: '1.4'.
Always 'error' for error responses.
Internal error code: '20012' (no custom groups found).
Human-readable error message.
Always 'getCGList' for this endpoint.
API version: '1.4'.
Always 'error' for error responses.
Internal error code: '20003' (no managed domains).
Human-readable error message.
Always 'getCGList' 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.
List with static, dynamic, static unique computer and user groups.
{
"message_type": "getCGList",
"message_response": {
"getcglist": {
"response": {
"result": {
"cg_list": [
{
"domain_name": "CORP",
"group_category": "Static",
"group_id": 301,
"group_name": "Windows Servers",
"group_modified_on": 1710412000000,
"group_created_on": 1710325600000,
"group_type": "Computers"
},
{
"domain_name": "NA",
"group_category": "Dynamic",
"group_id": 302,
"group_name": "Windows 11 PCs",
"group_modified_on": 1710500000000,
"group_created_on": 1710325600000,
"group_type": "Computers"
},
{
"domain_name": "CORP",
"group_category": "Static Unique",
"group_id": 303,
"group_name": "Finance OU Computers",
"group_modified_on": 1710500000000,
"group_created_on": 1710240000000,
"group_type": "Computers"
},
{
"domain_name": "CORP",
"group_category": "Static",
"group_id": 304,
"group_name": "HR Users",
"group_modified_on": 1710150000000,
"group_created_on": 1710150000000,
"group_type": "Users"
}
]
},
"message": "Operation has been completed successfully"
},
"operation_status": "success"
}
},
"message_version": "1.4",
"status": "success"
}
List including auto-generated All Computers group when isAutoGeneratedCGNeeded=true.
{
"message_type": "getCGList",
"message_response": {
"getcglist": {
"response": {
"result": {
"cg_list": [
{
"domain_name": "NA",
"group_category": "All Computer/User Group",
"group_id": 1,
"group_name": "All Computers",
"group_modified_on": 1710500000000,
"group_created_on": 1700000000000,
"group_type": "Computers"
},
{
"domain_name": "CORP",
"group_category": "Static",
"group_id": 301,
"group_name": "Windows Servers",
"group_modified_on": 1710412000000,
"group_created_on": 1710325600000,
"group_type": "Computers"
}
]
},
"message": "Operation has been completed successfully"
},
"operation_status": "success"
}
},
"message_version": "1.4",
"status": "success"
}
No manually created custom groups exist in the system.
{
"error_description": "No custom groups found",
"message_type": "getCGList",
"error_code": "20012",
"message_version": "1.4",
"status": "error"
}
Server has no managed AD/workgroup domains configured.
{
"error_description": "No managed domain(s) available",
"message_type": "getCGList",
"error_code": "20003",
"message_version": "1.4",
"status": "error"
}
Unexpected server-side failure retrieving custom group list.
{
"error_description": "An internal error occurred while processing the request.",
"message_type": "getCGList",
"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.