Uploads a binary file and returns file metadata including a unique file_id for subsequent API calls.
This API endpoint is deprecated
This API is deprecated as of On-Premises build 11.2.2509.XX. Use /emsapi/files for new implementations and migrate existing usage to this endpoint before it is completely removed.
View new endpoint >https://{serverurl}/api/v1/mdm/files
MDMOnDemand.MDMDeviceMgmt.CREATECopied!
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
curl --request POST \
--url https://appdomain/api/v1/mdm/files \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: multipart/form-data'MIME type of the uploaded file. Common values: application/vnd.android.package-archive (apk), application/x-itunes-ipa (ipa), application/zip (appxbundle, xap, appx, msix), application/x-ms-installer (msi)
Name of the uploaded file including its extension
Unique identifier assigned to the uploaded file. Use this ID to check upload status via Get File Upload Status
Unix timestamp (in milliseconds) until when the uploaded file is valid. The file will be automatically deleted after this time
Length of the uploaded file in bytes
Android APK file successfully uploaded
{
"content_type": "application/vnd.android.package-archive",
"file_name": "zylker-app.apk",
"file_id": 9007199254741076,
"expiry_time": 15987913528,
"content_length": 2048576
}
Image file successfully uploaded
{
"content_type": "image/png",
"file_name": "check.png",
"file_id": 9007199254741076,
"expiry_time": 15987913528,
"content_length": 1479
}
![]()
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.