Skip to main content
POST
TypeScript

인증

Authorization
string
header
필수

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

헤더

Idempotency-Key
string

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

Maximum string length: 255
예시:

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

Api-Version-Date
string

Pins the request to a dated API version.

예시:

"2026-11-17"

본문

application/json
attachment
object
필수

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
필수

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

예시:

"xxxxxxxxxxxxxxx"

platform
enum<string>
필수

The target platform for the build.

사용 가능한 옵션:
ios,
android,
web
예시:

"web"

app_id
string

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

예시:

"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.

사용 가능한 옵션:
hub,
discover,
dash,
dashboard,
analytics,
skills,
openapi

응답

app build created

checksum
string
필수

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

예시:

"xxxxxxxxxxxxxxx"

created_at
string
필수

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

예시:

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

file_url
string | null
필수

URL to download the uploaded build artifact.

예시:

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

id
string
필수

App build ID, prefixed abld_.

예시:

"apbu_xxxxxxxxxxxxxx"

is_production
boolean
필수

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

예시:

false

platform
enum<string>
필수

The target platform for this build.

사용 가능한 옵션:
ios,
android,
web
예시:

"ios"

review_message
string | null
필수

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

예시:

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

source_url
string | null
필수

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

예시:

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

status
enum<string>
필수

The build's review status.

사용 가능한 옵션:
draft,
pending,
approved,
rejected
예시:

"rejected"

supported_app_view_types
enum<string>[]
필수

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

사용 가능한 옵션:
hub,
discover,
dash,
dashboard,
analytics,
skills,
openapi