Skip to main content
POST
TypeScript

Autorisaties

Authorization
string
header
vereist

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

developer:manage_builds

Headers

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Voorbeeld:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Voorbeeld:

"2026-11-17"

Body

application/json
attachment
object
vereist

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.

checksum
string
vereist

A client-generated checksum of the build file, used to verify file integrity when unpacked.

Voorbeeld:

"xxxxxxxxxxxxxxx"

platform
enum<string>
vereist

The target platform for the build.

Beschikbare opties:
ios,
android,
web
Voorbeeld:

"web"

app_id
string

The app to create the build for, prefixed app_. Defaults to the app behind the presented credential.

Voorbeeld:

"app_xxxxxxxxxxxxxx"

source_attachment
object

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.

supported_app_view_types
enum<string>[]

The view types this build supports. Only list the ones its code implements.

Beschikbare opties:
hub,
discover,
dash,
dashboard,
analytics,
skills,
openapi

Respons

app build created

checksum
string
vereist

Client-generated checksum of the build file, used to verify file integrity.

Voorbeeld:

"xxxxxxxxxxxxxxx"

created_at
string
vereist

When the build was uploaded, as an ISO 8601 timestamp.

Voorbeeld:

"2026-01-01T12:00:00.000Z"

file_url
string | null
vereist

URL to download the uploaded build artifact.

Voorbeeld:

"https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

id
string
vereist

App build ID, prefixed abld_.

Voorbeeld:

"apbu_xxxxxxxxxxxxxx"

is_production
boolean
vereist

Whether this build is the currently active production build for its platform.

Voorbeeld:

false

platform
enum<string>
vereist

The target platform for this build.

Beschikbare opties:
ios,
android,
web
Voorbeeld:

"ios"

review_message
string | null
vereist

Feedback from the reviewer explaining a rejection, or null if the build has not been reviewed or was approved.

Voorbeeld:

"The hub view crashes on launch when the member has no active membership. Fix and resubmit."

source_url
string | null
vereist

URL to download the compressed source code archive that produced this build, or null when the build was uploaded without a source archive.

Voorbeeld:

"https://whop-assets-example.s3.amazonaws.com/uploads/zip/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

status
enum<string>
vereist

The build's review status.

Beschikbare opties:
draft,
pending,
approved,
rejected
Voorbeeld:

"rejected"

supported_app_view_types
enum<string>[]
vereist

The view types this build supports, as declared by the developer.

Beschikbare opties:
hub,
discover,
dash,
dashboard,
analytics,
skills,
openapi