X-API-Key header. See API Reference for authentication details.
Start Upload
Initiate an app build upload and get a presigned URL for uploading your build file.POST
/api/ci/start-upload — Returns 200 OKRequest Body
Your app’s bundle identifier (e.g.,
com.company.app)Target platform:
ios or androidName of the build file (e.g.,
app-release.apk or MyApp.zip)Example Request
Response Fields
Presigned URL for uploading your build file via PUT request. Valid for 1 hour.
Storage path of the uploaded file. Pass this to the confirm-upload endpoint.
Example Response
upload_url using a PUT request:
Confirm Upload
After uploading your build file, call this endpoint to finalize the upload and trigger any configured automations.POST
/api/ci/confirm-upload — Returns 200 OKRequest Body
Your app’s bundle identifier (must match the one used in start-upload)
Target platform:
ios or androidThe
file_path returned from the start-upload responseGit commit SHA for tracking which commit this build came from.
Git branch name. Displayed in the Autosana UI for build identification.
Example Request
Response Fields
Result status:
success or errorHuman-readable description of the result
Number of automations triggered by this upload (based on your Automations configuration).
Example Response
Upload Workflow
Here’s the complete workflow for uploading a build via the API:Build Requirements
iOS Builds
Upload a
.zip file containing a simulator-compatible .app bundle. See App Build Guide for details.Android Builds
Upload a universal
.apk file (not AAB). The APK must be compatible with x86_64 emulators.