Skip to main content
POST
Promote app build
This page documents the Legacy API. For new integrations, use Promote App Build in the Current API.
Required permissions:
  • developer:manage_builds

Autorizaciones

Authorization
string
header
requerido

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Scopes

developer:manage_builds

Parámetros de ruta

id
string
requerido

The unique identifier of the app build to promote to production, starting with 'abld_'.

Ejemplo:

"apbu_xxxxxxxxxxxxx"

Respuesta

A successful response

A versioned build artifact for a Whop React Native App, submitted for review and deployment to a specific platform.

checksum
string
requerido

A SHA-256 hash of the uploaded build file, generated by the client and used to verify file integrity.

Ejemplo:

"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"

created_at
string<date-time>
requerido

The datetime the app build was created.

Ejemplo:

"2023-12-01T05:00:00.401Z"

file_url
string
requerido

A URL to download the app build as a .zip archive.

Ejemplo:

"https://cdn.whop.com/builds/abc123.zip"

id
string
requerido

The unique identifier for the app build.

Ejemplo:

"apbu_xxxxxxxxxxxxx"

is_production
boolean
requerido

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

platform
enum<string>
requerido

The target platform for this build.

Opciones disponibles:
ios,
android,
web
review_message
string | null
requerido

Feedback from the reviewer explaining why the build was rejected. Null if the build has not been reviewed or was approved.

Ejemplo:

"App crashes on launch. Please fix and resubmit."

source_url
string | null
requerido

A URL to download the compressed source code archive that produced this build. Null if the build was uploaded without a source archive.

Ejemplo:

"https://cdn.whop.com/builds/abc123-source.zip"

status
enum<string>
requerido

The current review status of this build.

Opciones disponibles:
draft,
pending,
approved,
rejected
supported_app_view_types
enum<string>[]
requerido

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

The different types of an app view

Opciones disponibles:
hub,
discover,
dash,
dashboard,
analytics,
skills,
openapi