Upload a new build artifact for an app. The build must include a compiled code bundle for the specified platform.
Required permissions:
developer:manage_buildsA company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************
Parameters for CreateAppBuild
The build file to upload. For iOS and Android, this should be a .zip archive containing a main_js_bundle.hbc file and an optional assets folder. For web, this should be a JavaScript file.
A client-generated checksum of the build file, used to verify file integrity when unpacked on a device.
The target platform for the build. Accepted values: ios, android, web.
ios, android, web The identifier of the AI prompt that generated this build, if applicable.
"prmt_xxxxxxxxxxxxx"
The unique identifier of the app to create the build for. Defaults to the app associated with the current API key.
"app_xxxxxxxxxxxxxx"
The view types this build supports. A build can support multiple view types but should only list the ones its code implements.
The different types of an app view
hub, discover, dash, dashboard, analytics A successful response
A versioned build artifact for a Whop React Native App, submitted for review and deployment to a specific platform.
The unique identifier for the app build.
"apbu_xxxxxxxxxxxxx"
The target platform for this build.
ios, android, web A URL to download the app build as a .zip archive.
"https://cdn.whop.com/builds/abc123.zip"
The datetime the app build was created.
"2023-12-01T05:00:00.401Z"
The current review status of this build.
draft, pending, approved, rejected A SHA-256 hash of the uploaded build file, generated by the client and used to verify file integrity.
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
The list of view types this build supports, as declared by the developer.
The different types of an app view
hub, discover, dash, dashboard, analytics Feedback from the reviewer explaining why the build was rejected. Null if the build has not been reviewed or was approved.
"App crashes on launch. Please fix and resubmit."
Whether this build is the currently active production build for its platform.