Upload API
Streamline your app build process and upload your .ipa and .apk app builds directly to Updraft and distribute them.

Method

PUT https://getupdraft.com/api/upload

Parameters

Name
Required
Description
Environment App Key
Yes
Your App key/ token. You find it in 'Edit App'
API Key
Yes
Your API key/ token. You find it in your profile: https://getupdraft.com/dashboard/profile/tokens
Yes
Path_to_your_app_file (ipa or apk)
whats_new
No
Additional release notes for this uploaded build. This text will be added to all email notifications.
build_type
No
You can also specify the type of assembly.
custom_Branch
No
You can also specify name of your branch you deployed your build.
git_tag
No
You can add your Git tag
git_commit_hash
No
You can add your Git commit hash
git_url
No
You can add the URL to git
Open your Terminal/CMD and type in following command with your path to the file you want to upload, your environment app key and your API key:

Error Codes

In the case of an error, Updraft will return a JSON with status => fail and code with one of the values in the list below.
Error Code
Description
1
Incorrect file
2
This version of your build already exists
3
There is already a newer version uploaded, this version you are trying to upload is older.
4
This is another application and doesn't match with the application in your project
5
This is a different platform type of your application
6
Your storage space is full. Please upgrade your priceplan.
Warning
You are uploaded an already existing build to your project (same version and same build version)

Last modified 1yr ago