Create App Build
Changed onUploads a new build artifact for an app. Upload the file first with POST /files or a direct upload, then reference it in attachment.
Request
- Base URLhttps://api.whop.com/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
The app to create the build for, prefixed app_. Defaults to the app behind the presented credential.
The uploaded build file: pass id for an existing file or direct_upload_id for a completed direct upload. iOS and Android builds take a .zip bundle; web builds take a JavaScript file or a .zip archive of the hosted site.
A client-generated checksum of the build file, used to verify file integrity when unpacked.
The target platform for the build.
An optional compressed archive (.zip or .gz) of the source code that produced this build, stored alongside the build so it can be downloaded later. Referenced like attachment, and must be a different file.
The view types this build supports. Only list the ones its code implements.
Example request
{
"app_id": "app_xxxxxxxxxxxxxx",
"attachment": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"checksum": "xxxxxxxxxxxxxxx",
"platform": "web",
"source_attachment": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"supported_app_view_types": [
"hub"
]
}Response
app build created
Client-generated checksum of the build file, used to verify file integrity.
When the build was uploaded, as an ISO 8601 timestamp.
URL to download the uploaded build artifact.
App build ID, prefixed abld_.
Whether this build is the currently active production build for its platform.
The target platform for this build.
Feedback from the reviewer explaining a rejection, or null if the build has not been reviewed or was approved.
URL to download the compressed source code archive that produced this build, or null when the build was uploaded without a source archive.
The build's review status.
Example response
{
"checksum": "xxxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"file_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"id": "apbu_xxxxxxxxxxxxxx",
"platform": "ios",
"review_message": "The hub view crashes on launch when the member has no active membership. Fix and resubmit.",
"source_url": "https://whop-assets-example.s3.amazonaws.com/uploads/zip/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "rejected",
"supported_app_view_types": [
"hub"
]
}Changes
- info
the security scope
developer:manage_buildswas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
developer:manage_buildswas removed from the endpoint's security schemebearerAuth
- info