Skip to main content
Skip table of contents


An app to upload.


Upload an app (an APK or IPA file) to the policy console.

Use this resource to upload an app without any confirmation response from the client. If you upload an APK or IPA file with the same package name of an APK or IPA file already in the policy console, the file you choose overwrites the old one. 

If you want to explicitly confirm an upload before overwriting another file with the same package name, use POST app-market/upload-no-replace.


FileRequired. The binary data for the APK or IPA file you want to upload. The APK or IPA must be sent as raw multipart data, not as a URL.

In cURL, for example, use the --data-binary option to send the APK or IPA file:

curl --data-binary @file_name -L -b c.txt -c c.txt \
-X POST https://servername/mocana-app-control/rest/app-market/upload

where file_name is the path and filename for your APK or IPA file and servername is your policy console server.

filenameOptional. The name to give the APK or IPA file. When you download the secured app from the policy console with GET app-market/{GUID}/apk or POST app-market/export-for-codesigning, this is the default filename. Unlike most other POST parameters, filename must be appended to the URL in your request.

Example value: com.qwe.superapp.apk

Example request


curl --data-binary @file_name -v -L -b c.txt -c c.txt -X \


  "message": "", 
  "status": "OK", 
  "upload_info": {
    "app_id": "3cae6656-4b4e-4739-8a15-d3bf1d70d00b",
    "app_isnew": true,
    "icon_url": "", 
    "name": "Adobe Reader",
    "package_name": "com.adobe.reader"
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.