Retrieves all predefined data rules.
https://{serverurl}/endpointdlp/api/data-classification/data-rule/data-rules
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
curl --request GET \
--url https://appdomains/endpointdlp/api/data-classification/data-rule/data-rules \
--header 'Accept: application/dataRules.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'List of predefined data rules
Unique identifier of the data rule
Name of the data rule
Sub-rule type identifier
Associated data category identifier
Associated country identifier
Associated data class identifier
Number of occurrences threshold
Internal error code returned when fetching all data rules fails
Failure message describing why data rules could not be retrieved
Successful retrieval of data rules
{
"dataRules": [
{
"noOfOccurrence": "2",
"ruleName": "Albania: International Bank Account Number",
"dataCategoryId": "3",
"ruleId": "1",
"countryId": "1",
"dataClassId": "1",
"subRuleTypeId": 1
},
{
"noOfOccurrence": "3",
"ruleName": "American Express",
"dataCategoryId": "2",
"ruleId": "139",
"countryId": "85",
"dataClassId": "5",
"subRuleTypeId": 1
}
]
}
Internal server error
{
"errorMessage": "Exception occurred while fetching DataRule :: <exception message>",
"errorCode": "INTERNAL_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.