Overview
The upload request endpoint is the first step in uploading a new build. It provides all key build information, and returns a presigned URL for direct upload or multipart upload information for larger files.Authorizations
App-specific auth token. Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Upload request details
Upload structure type. Should use 'file' unless you're including an Android OBB expansion file
file, file+expansion "file"
Platform identifier. See full list
generic, windows, macos, android, ios, quest, switch, switch2, ps5, ps4, xbox-series, vision-pro, pico, wearos, vive, homepod, apple-tv, apple-watch, freebsd, openbsd, linux, debian, redhat, gentoo, arch, playdate, magic-leap, zephyr, roblox, opensuse, alpine, nixos, slackware, void, mageia, kaios "windows"
Stream name. Must match exact name setup in your app
"nightlies"
Source of the upload. See full list
web-upload, cli-upload, ghactions, jenkins, unity-build, gitlab-ci, azure-devops, circleci, travisci, appveyor, teamcity, bitbucket-pipelines, bitrise, codemagic, buildkite, google-cloud-build, bamboo, semaphore, aws-codebuild, abstruse, cirrus-ci, drone, concourse "ghactions"
Semantic versioning: Major version component
1
Minor version component
0
Patch version component
1
Expansion files (only include if structure is 'file+expansion')
Extra version component. Optional pre-release label like such as 'alpha', 'beta', 'rc', etc
"alpha"
Version metadata. Optional metadata like such as 'build number', 'commit hash', etc
"2025.07.30"
Custom build number (any preferred format)
"398"
Labels for the build (will be created if they don't already exist)
["signed", "to-test", "release"]CI pipeline name
"Nightly Build"
CI run ID
"38836019427"
CI run URL
"https://github.com/buildstash/example/actions/runs/38836019427"
CI build duration
"00:05:00"
Version control host. See full list
github, gitlab, gitlab-self, perforce, bitbucket, gitea, forgejo, gogs, codeberg, sourceforge, sourcehut, rhodecode, unity-vc, aws-codecommit, azure-repos, beanstalk, assembla, codebase, bonobo-git, phabricator, launchpad, onedev, diversion "github"
Repository name
"buildstash/example"
Repository URL
"https://github.com/buildstash/example"
Branch name
"main"
Commit SHA
"1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6"
Commit URL
"https://github.com/buildstash/example/commit/1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6"
Additional notes
"Example build notes here."