Upload a file to MDM for usage in other APIs such as app distribution, content management, and profile configuration Deprecated
Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab
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.
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)
file_namestring
Name of the uploaded file including its extension
file_idlong
Unique identifier assigned to the uploaded file. Use this ID to check upload status via Get File Upload Status
expiry_timelong
Unix timestamp (in milliseconds) until when the uploaded file is valid. The file will be automatically deleted after this time
Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.