Downloads the raw script file associated with the specified script. The response is a binary stream rather than JSON.
https://{serverurl}/dcapi/configuration/scriptRepository/{scriptId}/file Copied!
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Unique identifier of the script whose file content is replaced. Fetch from List Scripts.
curl --request GET \
--url https://appdomains/dcapi/configuration/scriptRepository/{scriptId}/file \
--header 'Accept: application/octet-stream' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Product error code for the authorization failure
Localised error message for the error code
Product error code for the failure
Localised error message for the error code
"string"
The API user does not have the role required for this operation
{
"errorCode": 1001,
"errorMsg": "Access denied - You are not allowed to access the requested resource."
}
Unexpected server error while downloading script file
{
"errorCode": 1003,
"errorMsg": "An Internal Error occurred, try again later."
}
![]()
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.