Apps

Registers a new app on the Whop developer platform. Apps provide custom experiences that can be added to products.

post/apps

Request

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

Headers

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

Pins the request to a dated API version.

Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383

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

Request body

object required
account_id, string

The account to create the app for (biz_ tag). Defaults to the account behind the presented credential.

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

The type of app to create. Defaults to b2c_app.

base_url, string nullable

The base production URL where the app is hosted, such as https://myapp.example.com.

domain_id, string nullable

A domain on the account (dom_ tag) to serve the app at, such as a whop.site address claimed with POST /domains. Required with template_id.

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.

name, string required

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

redirect_uris, string[]

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

route, string nullable

Deprecated: claim an address with POST /domains and pass domain_id. The subdomain route where the app's hosted web builds are served, such as myapp for myapp.whop.site.

Example request

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "app_type": "website",
  "domain_id": "dom_xxxxxxxxxxxxxx",
  "icon": {
    "direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "id": "file_xxxxxxxxxxxxxx"
  },
  "imported_from_url": "https://shinetime.example",
  "name": "Shine Time Booking",
  "redirect_uris": [
    "https://booking.shinetime.example/oauth/callback"
  ],
  "route": "shine-time-booking-site"
}

Response

app created

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