Uploads a reference document used for fingerprint or keyword-based data rules. Allowed file extensions: csv, txt, pdf, doc, docx. Max file size: 76800 bytes.
https://{server-hostname}:8383/endpointdlp/api/data-classification/data-rule/reference-file-upload Copied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Sub-rule type (fingerprint or keyword)
Reference document file to upload. Allowed extensions: csv, txt, pdf, doc, docx. Max size: 76800 bytes.
curl --request POST \
--url 'https://appdomain/endpointdlp/api/data-classification/data-rule/reference-file-upload?subRuleType=1' \
--header 'Accept: application/uploadReferenceDocument.v1+json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: multipart/form-data' \
-F 'referenceFile=(binary file content)'Upload a reference document
referenceFile = (binary file content)Name of the uploaded reference file
Server-side location of the uploaded file
Internal error code returned when reference file upload fails (validation, size, or persistence)
Reason the reference file upload was unsuccessful
Successful file upload
{
"fileName": "reference_keywords.csv",
"fileLocation": "/referencefiles/reference_keywords.csv"
}
File upload failed
{
"errorMessage": "File upload is not successful",
"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.