Apps

Updates the settings, metadata, or status of an app. Fields that are omitted keep their current value.

patch/apps/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

App ID (prefixed app_). Retrieval also accepts the app's claimed route, an active verified custom hostname, or its proxy domain id. A custom hostname returns 404 when its assignment is inactive or the app or its owning account is deleted.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Request body

object required
app_store_description, string

The detailed description shown on the app store's in-depth app view page.

app_type, 'b2b_app' | 'b2c_app' | 'company_app' | 'component' | 'website'

The type of end-user the app is built for. Cannot be changed on an app whose type is already website.

base_url, string nullable

The base production URL where the app is hosted. Set to null to take the app proxy offline.

category_id, string nullable

The App Store category of a business app. Pass an mcat_ ID from GET /apps/categories?app_type=b2b_app, or null to clear it. Omit it to keep the current category. Setting a category needs the app to have an App Store product.

dashboard_path, string nullable

The URL path for the account dashboard view.

description, string

A short description of the app shown in listings and search results.

discover_path, string nullable

The URL path for the discover view.

experience_path, string nullable

The URL path for the member-facing hub view, such as /experiences/[experienceId].

icon, object

The icon image for the app in PNG, JPEG, or GIF format, referencing an uploaded file: { id } for an existing attachment or { direct_upload_id } for a new direct upload.

imported_from_url, string nullable

The address of the existing website this app is imported from, such as https://shop.example.com. Must be an http or https URL. Set to null to clear it.

name, string

The display name for the app, shown to users on the app store and product pages.

oauth_client_type, 'public' | 'confidential'

How the app authenticates at the OAuth token endpoint.

openapi_path, string nullable

The URL path to the app's OpenAPI spec file (requires the ai_chat capability).

per_install_schedule, string nullable

Five-field cron expression, read in UTC, on which Whop runs the production web build's scheduled() export once for every installation, with the installation in ctx.props.app_installation. It must fire at least once and no more often than every 15 minutes. Slots are skipped while the app has no production web build with a server entry. Set to null or an empty string to stop the per-install schedule.

production_android_build_id, string nullable

The app build (abld_ tag) to serve as the Android production build, or null to unassign it. Same rules as production_web_build_id.

production_ios_build_id, string nullable

The app build (abld_ tag) to serve as the iOS production build, or null to unassign it. Same rules as production_web_build_id.

production_web_build_id, string nullable

The app build (abld_ tag) to serve as the web production build, or null to unassign it. The build must belong to this app, target web, and be in the draft or approved status; a draft build is queued for approval and takes over once approved. Requires the developer:manage_builds scope.

redirect_uris, string[]

The whitelisted OAuth callback URLs users are redirected to after authorizing the app.

required_scopes, string[]

The OAuth scopes the app requests from users when they install it.

route, string

The subdomain route where the app's hosted web builds are served.

schedule, string nullable

Five-field cron expression, read in UTC, on which Whop runs the production web build's scheduled() export once per slot, such as */15 * * * *. It must fire at least once. Slots are skipped while the app has no production web build with a server entry. Set to null or an empty string to stop the global schedule.

secrets, object

Secrets to add or overwrite on the app, as an object of string values. Keys not included are left untouched; pass null or an empty string as the value to delete a secret. Encrypted at rest and injected into the app's hosted server runtime.

skills_path, string nullable

The URL path to the app's skills directory (requires the ai_chat capability).

status, 'live' | 'unlisted' | 'hidden'

Controls whether the app is published on Whop discovery or accessible only through its direct link. Publishing requires a name, icon, and description.

Example request

{
  "app_store_description": "Shine Time Booking turns a whop into a booking calendar. Members pick a package, choose a slot that fits the day's route, and pay up front.",
  "app_type": "b2c_app",
  "base_url": "https://shine-time-booking.whop.site",
  "dashboard_path": "/dashboard/[companyId]",
  "description": "Let members book a mobile detailing appointment without leaving your whop.",
  "discover_path": "/discover",
  "experience_path": "/experiences/[experienceId]",
  "icon": {
    "direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "id": "file_xxxxxxxxxxxxxx"
  },
  "imported_from_url": "https://shinetime.example",
  "name": "Shine Time Booking Pro",
  "oauth_client_type": "confidential",
  "openapi_path": "/openapi.json",
  "per_install_schedule": "*/15 * * * *",
  "production_android_build_id": "apbu_xxxxxxxxxxxxxx",
  "production_ios_build_id": "apbu_xxxxxxxxxxxxxx",
  "production_web_build_id": "apbu_xxxxxxxxxxxxxx",
  "redirect_uris": [
    "https://booking.shinetime.example/oauth/callback"
  ],
  "required_scopes": [
    "read_user"
  ],
  "route": "shine-time-booking-pro",
  "schedule": "0 * * * *",
  "secrets": {
    "BOOKING_CALENDAR_ID": "cal_9f21"
  },
  "skills_path": "/skills",
  "status": "unlisted"
}

Response

app updated

App required
account, AccountParent required

The account that owns the app.

api_key, AppApiKey nullable required
app_store_description, string nullable required

Detailed description shown on the app store's in-depth app page, or null when none has been set.

app_type, 'b2b_app' | 'b2c_app' | 'company_app' | 'component' | 'website' required

The type of end-user the app is built for.

average_review_rating, number required

Average star rating across published reviews for this app, from 1.0 to 5.0. Returns 0.0 when no published-review rating is available.

banner_image, AppBannerImage nullable required
base_url, string nullable required

The production base URL where the app is hosted. null if no base URL is configured, if the caller lacks the developer:basic:read permission on the app's account, or on list responses, which never expose it.

businesses_created_count, integer required

Website businesses created from this app as a template.

businesses_created_logo_urls, string[] required
businesses_with_recent_sales_count, integer required

Website businesses created from this app as a template that processed a payment in the last 24 hours. Recounted hourly, so it can be up to an hour behind.

category, AppCategory nullable required
creator, AppCreator required

The user who owns the publishing account.

dashboard_path, string nullable required

URL path for the account dashboard view, or null when not configured.

default_api_key, AppDefaultApiKey nullable required
deployment, AppDeployment nullable required
description, string nullable required

Short description shown in listings and search results, or null if none has been set.

discover_path, string nullable required

URL path for the discover view, or null when not configured.

domain_id, string required

Subdomain identifier for the app's proxied URL, forming https://{domain_id}.apps.whop.com.

domains, AppDomain[] required
elements_used, string[] required
experience_path, string nullable required

URL path for the member-facing hub view, or null when not configured.

hosted_url, string nullable required

Full URL where the app's hosted web build is served, or null if no route is claimed. DEPRECATED: Read domains instead.

icon, AppIcon required

The app's icon. Falls back to the default app icon when none is uploaded.

id, string required

App ID, prefixed app_.

imported_from_url, string nullable required

The address of the existing website this app was imported from, such as https://shop.example.com. null if the app was not imported from another site, or if the caller lacks the developer:basic:read permission on the app's account.

is_app_store_listed, boolean required

Whether the app is published, approved, and visible in the public app store.

is_whop_app, boolean required

Whether Whop publishes this app.

marketplace_status, 'not_available' | 'pending_review' | 'live_marketplace' | 'null' nullable required

Approval status of the app's product listing on the Whop app store, or null when the app has no associated product.

name, string required

Display name shown on the app store and in experience navigation.

oauth_client_type, 'public' | 'confidential' required

How the app authenticates at the OAuth token endpoint.

openapi_path, string nullable required

URL path to the app's OpenAPI spec file, or null when not configured.

origin, string nullable required

Full origin URL of the app's proxied domain, for example https://ab1c2d3e4f.apps.whop.com.

per_install_schedule, string nullable required

Five-field cron expression, read in UTC, on which Whop runs the production web build's scheduled() export once for every installation, with the installation in ctx.props.app_installation, no more often than every 15 minutes. Slots are skipped while the app has no production web build with a server entry. null when the app has no per-install schedule, or if the caller lacks the developer:basic:read permission on the app's account.

preview_token, string nullable required

A short-lived signed pass scoping the caller to this app's gated preview hosts — every build preview and the live dev-server sandbox. Add it to a preview host as the __whop_preview query param (or x-whop-preview-token header). null unless the caller is a team member who can read the app's developer settings.

product_category, string nullable required

Product category a business built from this app as a template sells, such as pressure_washing, or null when none has been set.

product_id, string nullable required

ID of the app's product listing on the Whop app store, or null when the app has no associated product.

production_android_build, AppProductionBuild nullable required
production_ios_build, AppProductionBuild nullable required
production_web_build, AppProductionBuild nullable required
published_reviews_count, integer required

Published customer reviews for this app.

redirect_uris, string[] required
requested_permissions, AppRequestedPermission[] required
required_scopes, string[] required
route, string nullable required

Claimed subdomain route where hosted web builds are served (myapp for myapp.whop.site), or null if no route is claimed. DEPRECATED: Read domains instead.

schedule, string nullable required

Five-field cron expression, read in UTC, on which Whop runs the production web build's scheduled() export once per slot. Slots are skipped while the app has no production web build with a server entry. null when the app has no global schedule, or if the caller lacks the developer:basic:read permission on the app's account.

secrets, object nullable required

The app's production secrets as an object of string values, injected into the hosted server runtime. null when the caller lacks the developer:update_app permission.

skills_path, string nullable required

URL path to the app's skills directory, or null when not configured.

status, 'live' | 'unlisted' | 'hidden' required

Visibility on the Whop app store: live is publicly discoverable, unlisted is accessible only via direct link, hidden is not visible anywhere.

verified, boolean required

Whether the app has been verified by Whop and is eligible for the featured apps section.

Example response

{
  "account": {
    "fees": {
      "crypto_swap_markup": {
        "fixed_fee_usd": 0,
        "percentage_fee": 3
      },
      "transfer_markup": {
        "fixed_fee_usd": 0,
        "percentage_fee": 0
      }
    },
    "id": "biz_xxxxxxxxxxxxxx",
    "logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "route": "shine-time-holdings",
    "title": "Shine Time Holdings"
  },
  "api_key": {
    "created_at": "2026-01-01T12:00:00.000Z",
    "token": "eyJhbGciOiJFUzI1NiJ9.xxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "app_store_description": "Shine Time Booking turns a whop into a booking calendar. Members pick a package, choose a slot that fits the day's route, and pay up front. A reminder goes out the night before and the receipt lands as soon as the job is signed off.",
  "app_type": "b2c_app",
  "banner_image": {
    "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  },
  "base_url": "https://shine-time-booking.whop.site",
  "businesses_created_count": 5,
  "businesses_created_logo_urls": [
    "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  ],
  "category": {
    "id": "mcat_xxxxxxxxxxxxxx",
    "name": "Business & Productivity",
    "route": "business-productivity"
  },
  "creator": {
    "id": "user_xxxxxxxxxxxxxx",
    "name": "Marcus Webb",
    "username": "marcuswebb"
  },
  "dashboard_path": "/dashboard/[companyId]",
  "default_api_key": {
    "id": "apik_xxxxxxxxxxxxxx",
    "name": "Default",
    "obfuscated_secret_key": "apik_xxxx....xxxx",
    "secret_key": "apik_xxxxxxxxxxxxxx_C0000_C_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "deployment": {
    "app_id": "app_xxxxxxxxxxxxxx",
    "estimated_duration_ms": 150000,
    "estimated_remaining_ms": 91000,
    "phase": "process_archive",
    "progress": 0.39,
    "started_at": 1767268800000,
    "status": "publishing"
  },
  "description": "Let members book a mobile detailing appointment without leaving your whop.",
  "discover_path": "/discover",
  "domain_id": "whopappdomain0000001",
  "domains": [
    {
      "domain": "from-template.whop.site",
      "id": "dom_xxxxxxxxxxxxxx",
      "status": "ready"
    }
  ],
  "elements_used": [
    "ads"
  ],
  "experience_path": "/experiences/[experienceId]",
  "hosted_url": "https://shine-time-booking.whop.site",
  "icon": {
    "url": "https://pub-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.r2.dev/custom-perk-icon.svg"
  },
  "id": "app_xxxxxxxxxxxxxx",
  "imported_from_url": "https://shinetime.example",
  "marketplace_status": "not_available",
  "name": "Shine Time Booking",
  "oauth_client_type": "public",
  "openapi_path": "/openapi.json",
  "origin": "https://whopappdomain0000001.apps.whop.com",
  "per_install_schedule": "*/15 * * * *",
  "preview_token": "whop_preview_pass_example",
  "product_id": "prod_xxxxxxxxxxxxxx",
  "production_android_build": {
    "checksum": "xxxxxxxxxxxxxxxx",
    "file_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "id": "apbu_xxxxxxxxxxxxxx",
    "source_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "status": "approved"
  },
  "production_ios_build": {
    "checksum": "xxxxxxxxxxxxxxxx",
    "file_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "id": "apbu_xxxxxxxxxxxxxx",
    "source_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "status": "approved"
  },
  "production_web_build": {
    "checksum": "xxxxxxxxxxxxxxxx",
    "file_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "id": "apbu_xxxxxxxxxxxxxx",
    "source_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "status": "approved"
  },
  "redirect_uris": [
    "https://booking.shinetime.example/oauth/callback"
  ],
  "requested_permissions": [
    {
      "is_required": true,
      "justification": "Creates apps on behalf of the installing company.",
      "permission_action": {
        "action": "company:basic:read",
        "name": "Read business information"
      }
    }
  ],
  "required_scopes": [
    "read_user"
  ],
  "route": "shine-time-booking",
  "schedule": "0 * * * *",
  "secrets": {
    "BOOKING_CALENDAR_ID": "cal_9f21"
  },
  "skills_path": "/skills",
  "status": "unlisted"
}

Changes

    • info

      added the required property average_review_rating to the response with the status

    • info

      added the required property is_app_store_listed to the response with the status

    • info

      added the required property is_whop_app to the response with the status

    1 more change in this revision