When to Use This API
- CI/CD integration – Automatically upload builds after successful compilation
- Mobile app testing – Upload iOS and Android builds for automated testing
- Version management – Track and test different build versions
This API is for mobile applications (iOS and Android) only. For web
applications, use environment URLs directly in the Start Run
API or Chat API.
Supported File Types
| Platform | File Types |
|---|---|
| Android | .apk |
| iOS | .ipa |
Android App Bundles (
.aab) are not supported directly. Convert them to
.apk first — see Mobile App Testing for
instructions.Authentication
All endpoints require Bearer token authentication. Create your API key in the QA.tech dashboard: Organization Settings → API Keys. The key is shown only once, at creation. See the API Introduction for details.Upload Workflow
Uploading a build is a two-step process, plus the file transfer itself:- Get Build Upload URL – Request a presigned URL and a
buildTokenfor your file. - Upload the file – Send the raw file bytes with an HTTP
PUTrequest to the presigneduploadUrl. NoAuthorizationheader is needed — the URL is presigned. - Create Application Build – Register the uploaded file as a build, using the
buildTokenfrom step 1. The response includes the build’s short ID (e.g.build_abc123).
Using Builds in Test Runs
After creating a build, reference its short ID as the environment’sapplicationBuildShortId in an application override when starting a run or creating a chat conversation. The run or chat session will then test against that specific build.
Related
- Mobile App Testing – Mobile testing concepts
- Start Run API – Run tests against uploaded builds
- Applications API – List applications
- API Introduction – Authentication and ID reference