Skip to main content
GET
/
app_builds
/
{id}
JavaScript
import Whopsdk from 'whopsdk';

const client = new Whopsdk({
  apiKey: 'My API Key',
});

const appBuild = await client.appBuilds.retrieve('apbu_xxxxxxxxxxxxx');

console.log(appBuild.id);
{
  "id": "apbu_xxxxxxxxxxxxx",
  "platform": "ios",
  "file_url": "<string>",
  "created_at": 1701406800,
  "status": "draft",
  "checksum": "<string>",
  "supported_app_view_types": [
    "hub"
  ],
  "review_message": "<string>",
  "is_production": true
}

Authorizations

Authorization
string
header
required

The app API key from an app from the /dashboard/developer page

Path Parameters

id
string
required
Example:

"apbu_xxxxxxxxxxxxx"

Response

A successful response

An App Build object representing a build of an application

id
string
required

The ID of the app build. It will look like apbu_xxxxx.

Example:

"apbu_xxxxxxxxxxxxx"

platform
enum<string>
required

The platform of the app build (ios, android, web)

Available options:
ios,
android,
web
file_url
string
required

The URL to download the app build .zip file.

created_at
integer
required

When this app build was created.

Example:

1701406800

status
enum<string>
required

The status of the app build (draft, approved, rejected, pending, etc)

Available options:
draft,
pending,
approved,
rejected
checksum
string
required

This is generated by the client and used to verify the integrity of the file that is submitted. It is a SHA256 hash of the app build file.

supported_app_view_types
enum<string>[]
required

The supported app view types for the app build. These are the views that the developer has specified that this build supports.

review_message
string | null
required

The review message for the app build, if any. This is populated when the build is rejected and there is a reason specified by the reviewer.

is_production
boolean
required

Whether this app build is currently being used in production.

I