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

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

// Automatically fetches more pages as needed.
for await (const appBuildListResponse of client.appBuilds.list({ app_id: 'app_xxxxxxxxxxxxxx' })) {
  console.log(appBuildListResponse.id);
}
{
  "data": [
    {
      "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
    }
  ],
  "page_info": {
    "end_cursor": "<string>",
    "start_cursor": "<string>",
    "has_next_page": true,
    "has_previous_page": true
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

after
string | null

Returns the elements in the list that come after the specified cursor.

before
string | null

Returns the elements in the list that come before the specified cursor.

first
integer | null

Returns the first n elements from the list.

Example:

42

last
integer | null

Returns the last n elements from the list.

Example:

42

app_id
string
required

The ID of the app to filter app builds by

Example:

"app_xxxxxxxxxxxxxx"

platform
enum<string> | null

Filter app builds by platform (ios, android, web) The different platforms an app build can target.

Available options:
ios,
android,
web
status
enum<string> | null

Filter app builds by status (draft, pending, approved, rejected) The different statuses an AppBuild can be in.

Available options:
draft,
pending,
approved,
rejected

Response

A successful response

The connection type for AppBuild.

data
array | null
required

A list of nodes.

page_info
object
required

Information to aid in pagination.

I