Returns the stored details of the specified script, including platform, arguments, successful exit codes, and the associated script file.
get /dcapi/configuration/scriptRepository/{scriptId}
https://{serverurl}/dcapi/configuration/scriptRepository/{scriptId} Copied!
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Unique identifier of the script to update. Fetch from List Scripts.
curl --request GET \
--url https://appdomains/dcapi/configuration/scriptRepository/{scriptId} \
--header 'Accept: application/scriptDetails.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Description of the script
Comma-separated list of expected exit codes
Target platform of the script. Allowed values:
Windows
Mac
Linux
Script arguments (decrypted for Windows)
Script file reference with fileID and fileName
Unique file ID from the DC file management system
Original filename of the script
true if this script was added from a template
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
Script details for a Windows batch script
{
"description": "Batch Script to change timezone",
"exitCodes": "0,1",
"arguments": "--timezone \"IST\"",
"scriptFile": {
"fileName": "ChangeTimeZone.bat",
"fileID": 12345
},
"shareScript": true,
"platform": "windows",
"isTemplateScript": false
}
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 retrieving script details
{
"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.