# Whop Docs: For Developers API Reference Current API > Whop is on a mission to deliver everyone a sustainable income. Accept payments, pay out users, build apps, and embed chat with SDKs in TypeScript, Python, and Ruby. > ## Agent Instructions > Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages. > MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md > Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Agent mode: https://docs.whop.com/cli/agent-mode.md > Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Every agent tool: https://docs.whop.com/developer/ai/overview.md > Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Comparison: https://docs.whop.com/developer/quickstart.md > API: send `Authorization: Bearer ` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json > Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only. ## Current API - [For Developers / API Reference / Current API / Core Resources (66 pages)](https://docs.whop.com/_llms/for-developers/api-reference/current-api/core-resources.txt): Documentation for For Developers / API Reference / Current API / Core Resources. - [For Developers / API Reference / Current API / Payments (98 pages)](https://docs.whop.com/_llms/for-developers/api-reference/current-api/payments.txt): Documentation for For Developers / API Reference / Current API / Payments. - [For Developers / API Reference / Current API / Money (78 pages)](https://docs.whop.com/_llms/for-developers/api-reference/current-api/money.txt): Documentation for For Developers / API Reference / Current API / Money. ### Introduction - [Overview](https://docs.whop.com/api-reference/overview.md): What the API does, how requests work, and a map of every resource. - [API Stability](https://docs.whop.com/api-reference/stability.md): Which state every Current API resource is in: current, available on both surfaces, or Legacy-only, and where to build. ### Reference - [API Versions](https://docs.whop.com/developer/api/versioning.md): Pin your requests to a dated API version so changes to the API never break your integration. - [Idempotent Requests](https://docs.whop.com/developer/api/idempotency.md): Retry POST requests with an idempotency key, so a request is never executed twice. - [Webhooks](https://docs.whop.com/developer/guides/webhooks.md): Receive payment, membership, and event notifications from Whop in realtime. - [Migrate from Previous Versions](https://docs.whop.com/developer/api/migrate-from-previous-versions.md): Move an integration off API v2 or the public GraphQL API. Find the Current API replacement for each route or operation and what behaves differently. ### Commerce #### Products - [Product](https://docs.whop.com/api-reference/products/product.md): A Product is a digital good or service sold on Whop. Products contain variants for pricing and may contain experiences for content delivery. - [List Products](https://docs.whop.com/api-reference/products/list-products.md): Lists an account's products, or searches the public marketplace when you omit `account_id`. Without the `access_pass:basic:read` permission on the account, including when signed out, the list holds only the products its store page lists. - [Retrieve Product](https://docs.whop.com/api-reference/products/retrieve-product.md): Retrieves a product. Requires no authentication. - [Create Product](https://docs.whop.com/api-reference/products/create-product.md): Creates a new product for an account. - [Publish Product](https://docs.whop.com/api-reference/products/publish-product.md): Submits an App Store app's product for review. The product moves to `pending_review`; a Whop reviewer approves it before it goes live. Other products can no longer be listed on the whop.com marketplace, so the request fails with `discover_listing_discontinued`. - [Unpublish Product](https://docs.whop.com/api-reference/products/unpublish-product.md): Removes a product from the whop.com marketplace. The product moves to `not_available`. - [Update Product](https://docs.whop.com/api-reference/products/update-product.md): Updates an existing product. - [Delete Product](https://docs.whop.com/api-reference/products/delete-product.md): Deletes a product. Only products with no memberships, entries, reviews, or invoices can be deleted. - [Product created](https://docs.whop.com/api-reference/products/product-created.md): Sent when a product is created - [Product deleted](https://docs.whop.com/api-reference/products/product-deleted.md): Sent when a product is deleted - [Product published](https://docs.whop.com/api-reference/products/product-published.md): Sent when a product is published - [Product unpublished](https://docs.whop.com/api-reference/products/product-unpublished.md): Sent when a product is unpublished - [Product updated](https://docs.whop.com/api-reference/products/product-updated.md): Sent when a product is updated #### Variants - [Variant](https://docs.whop.com/api-reference/variants/variant.md): A Variant is one purchasable configuration of a product. It controls price, billing cadence, stock, SKU, attributes, tax behavior, checkout fields, and purchase visibility. Variant IDs remain prefixed `plan_`. - [List Variants](https://docs.whop.com/api-reference/variants/list-variants.md): Lists an account's variants, leaving out variants generated for a legacy invoice; retrieve one of those by ID. To list a product's public, buyable variants without authentication, omit `account_id` and pass `product_ids`. - [Retrieve Variant](https://docs.whop.com/api-reference/variants/retrieve-variant.md): Retrieves a variant. Requires no authentication; fields that need a permission are `null` for callers without it. - [Create Variant](https://docs.whop.com/api-reference/variants/create-variant.md): Creates a pricing variant for a product, defining the billing interval, price, and availability customers buy it with. - [Update Variant](https://docs.whop.com/api-reference/variants/update-variant.md): Updates a variant's pricing, billing interval, visibility, stock, and other settings. - [Delete Variant](https://docs.whop.com/api-reference/variants/delete-variant.md): Deletes a variant from a product. It stops selling immediately; existing memberships on it are unaffected. - [Variant created](https://docs.whop.com/api-reference/variants/variant-created.md): Sent when a variant is created - [Variant deleted](https://docs.whop.com/api-reference/variants/variant-deleted.md): Sent when a variant is deleted - [Variant updated](https://docs.whop.com/api-reference/variants/variant-updated.md): Sent when a variant is updated #### Promo Codes - [Promo Code](https://docs.whop.com/api-reference/promo-codes/promo-code.md): A Promo Code is a discount a buyer enters at checkout, either a percentage or a fixed amount off. It belongs to an account, can be limited to one product, and controls who can redeem it, how many times, until when, and for how many billing periods the discount lasts. - [List Promo Codes](https://docs.whop.com/api-reference/promo-codes/list-promo-codes.md): Lists an account's promo codes. - [Retrieve Promo Code](https://docs.whop.com/api-reference/promo-codes/retrieve-promo-code.md): Retrieves a promo code by ID. - [Create Promo Code](https://docs.whop.com/api-reference/promo-codes/create-promo-code.md): Creates a promo code for an account. - [Activate Promo Code](https://docs.whop.com/api-reference/promo-codes/activate-promo-code.md): Turns an inactive promo code back on so it can be redeemed at checkout. - [Deactivate Promo Code](https://docs.whop.com/api-reference/promo-codes/deactivate-promo-code.md): Turns off an active promo code so it can no longer be redeemed at checkout. - [Delete Promo Code](https://docs.whop.com/api-reference/promo-codes/delete-promo-code.md): Archives a promo code so it cannot be used in future checkouts. #### Checkout Configurations - [Checkout Configuration](https://docs.whop.com/api-reference/checkout-configurations/checkout-configuration.md): A Checkout Configuration is a reusable checkout link owned by an account. In `payment` mode it sells a specific variant; in `setup` mode it collects and saves payment details without charging. Each configuration can also override which payment methods are accepted and how 3D Secure is enforced for t… - [List Checkout Configurations](https://docs.whop.com/api-reference/checkout-configurations/list-checkout-configurations.md): Lists checkout configurations for an account. - [Retrieve a Checkout Configuration](https://docs.whop.com/api-reference/checkout-configurations/retrieve-a-checkout-configuration.md): Retrieves a checkout configuration by ID. This endpoint is public so a checkout page can load from the configuration URL. - [Create a Checkout Configuration](https://docs.whop.com/api-reference/checkout-configurations/create-a-checkout-configuration.md): Creates a reusable checkout configuration for an existing or inline variant. Send customers to its `purchase_url` to check out. - [Delete a Checkout Configuration](https://docs.whop.com/api-reference/checkout-configurations/delete-a-checkout-configuration.md): Deletes a checkout configuration so its checkout URL can no longer be used. #### Waitlist Entries - [Waitlist Entry](https://docs.whop.com/api-reference/waitlist-entries/waitlist-entry.md): A Waitlist Entry is a user's signup for a variant that requires seller approval. Joining doesn't grant a membership or charge a payment method; the seller approves or denies each signup. - [List Waitlist Entries](https://docs.whop.com/api-reference/waitlist-entries/list-waitlist-entries.md): Lists the waitlist signups you can see. `waitlist_entry:read` returns your own signups, and `plan:waitlist:read` returns signups to the seller accounts you are authorized on; with both, you get both sets. Signups submitted on behalf of an account are not in this list; pass `buyer_account_id` to list… - [Retrieve Waitlist Entry](https://docs.whop.com/api-reference/waitlist-entries/retrieve-waitlist-entry.md): Retrieves your own signup or one submitted on behalf of an account you hold `waitlist_entry:read` on, or one submitted to an account you can read, with `plan:waitlist:read`. - [Create Waitlist Entry](https://docs.whop.com/api-reference/waitlist-entries/create-waitlist-entry.md): Joins a free waitlist variant as the authenticated user, or on behalf of an account with `buyer_account_id`. Requires `waitlist_entry:create`, on that account when one is given. Joining again returns the existing pending signup, or the approved one while its membership is valid. Paid variants are re… - [Approve Waitlist Entry](https://docs.whop.com/api-reference/waitlist-entries/approve-waitlist-entry.md): Queues approval of a pending signup. Requires `plan:waitlist:manage` on its seller account. Paid signups may charge their saved payment method. Returns the signup's current state; retrieve it to read `status` and `approval_failure_reason` after processing. - [Cancel Waitlist Entry](https://docs.whop.com/api-reference/waitlist-entries/cancel-waitlist-entry.md): Withdraws a pending signup: your own, or one submitted on behalf of an account you hold `waitlist_entry:cancel` on. Requires `waitlist_entry:cancel`, on that account for an account's signup. Does not cancel an approved membership. - [Deny Waitlist Entry](https://docs.whop.com/api-reference/waitlist-entries/deny-waitlist-entry.md): Denies a pending signup. Requires `plan:waitlist:manage` on its seller account. - [Approve All Waitlist Entries](https://docs.whop.com/api-reference/waitlist-entries/approve-all-waitlist-entries.md): Queues approval of every pending signup for an account, optionally narrowed to a variant. Requires `plan:waitlist:manage`. Paid signups may charge saved payment methods. Approval runs asynchronously: list signups with `status` set to `pending` to follow progress, and retrieve a signup to read its ou… #### Memberships - [Membership](https://docs.whop.com/api-reference/memberships/membership.md): A Membership is a customer's purchase of a variant: the subscription or one-time grant that gives them access to a product. It tracks billing state (`active`, `trialing`, `past_due`, and so on), the current period, pending cancellations, custom metadata, and the software license key when the product… - [List Memberships](https://docs.whop.com/api-reference/memberships/list-memberships.md): Lists every membership the caller can read: an account API key its account's; a user credential their own plus those of every account they manage. `account_id` and `user_id` only narrow that list — values outside the caller's reach return fewer results, not an error. - [Retrieve Membership](https://docs.whop.com/api-reference/memberships/retrieve-membership.md): Retrieves a membership by ID or license key. Accessible to the account and to the membership's own user. - [Apply Promo Code to Membership](https://docs.whop.com/api-reference/memberships/apply-promo-code-to-membership.md): Applies a promo code to an `active` or `trialing` membership that does not already have one and has exactly one recurring item, for Stripe-billed memberships and memberships billed by Whop's billing engine. The discount lands on the next invoice and follows the code's duration (`once`, `repeating`,… - [Assign Affiliate to Membership](https://docs.whop.com/api-reference/memberships/assign-affiliate-to-membership.md): Assigns an affiliate to a membership and pays them the commission you set on its future payments; past payments are not recalculated. A user who is not yet an affiliate of your account becomes one, which also requires `affiliate:create`. Send a new `commission_type` or `commission_value` for the mem… - [Cancel Membership](https://docs.whop.com/api-reference/memberships/cancel-membership.md): Cancels a membership, either immediately or at the end of the current billing period. Buyers cannot cancel buy-now-pay-later (`splitit`, `sezzle`) or non-trial split-pay memberships. - [Extend Membership](https://docs.whop.com/api-reference/memberships/extend-membership.md): Adds free days to a membership, extending its current billing period, expiration date, or trial depending on the plan type. - [Pause Membership](https://docs.whop.com/api-reference/memberships/pause-membership.md): Pauses a membership's recurring payment collection. The customer keeps access but is not charged until the membership is resumed. - [Reactivate Membership](https://docs.whop.com/api-reference/memberships/reactivate-membership.md): Restores access to a `canceled` or `expired` membership that contains only one-time purchases and sets its `status` to `completed`. Lifetime memberships regain lifetime access; for memberships with an expiration, `days` sets the new `current_period_end`. Active and recurring memberships cannot be re… - [Resume Membership](https://docs.whop.com/api-reference/memberships/resume-membership.md): Resumes a previously paused membership's recurring payment collection. Billing resumes on the next cycle. - [Resync Membership Access](https://docs.whop.com/api-reference/memberships/resync-membership-access.md): Re-runs access fulfillment for a membership: recomputes the member's content access on Whop, re-validates their Discord link (re-adding them to the server and re-assigning roles if needed), and re-fulfills TradingView indicator access. Telegram access is invite-based and is not resynced. The work ru… - [Transfer Membership](https://docs.whop.com/api-reference/memberships/transfer-membership.md): Creates a one-use transfer URL for a membership. Opening the URL while logged into a different Whop account claims the membership onto that account. The membership's buyer can generate a link for their own membership with `membership:transfer` when the product allows transfers and the membership is… - [Invite to a Membership](https://docs.whop.com/api-reference/memberships/invite-to-a-membership.md): Emails one recipient an invitation to a free variant's membership. The invitation is bound to that recipient; after signing in, accepting it immediately grants the membership without checkout. This Experimental endpoint is available only to accounts enabled for membership invitations. - [Update Membership](https://docs.whop.com/api-reference/memberships/update-membership.md): Updates a membership's metadata, scheduled cancellation, renewal payment method, renewal cadence, or next renewal date. - [Membership activated](https://docs.whop.com/api-reference/memberships/membership-activated.md): Sent when a membership is activated - [Membership Trial Ending Soon](https://docs.whop.com/api-reference/memberships/membership-trial-ending-soon.md): Sent when a membership is trial ending soon - [Membership updated](https://docs.whop.com/api-reference/memberships/membership-updated.md): Sent whenever a membership changes: it activates or deactivates, cancel_at_period_end flips, or the seller edits its billing period, price or renewal date. previous_attributes carries the values that changed from. membership.activated is also delivered as a membership.updated, so you can subscribe t… #### Shipments - [Shipment](https://docs.whop.com/api-reference/shipments/shipment.md): A Shipment attaches a carrier tracking number to a payment and follows the package from label creation to delivery, exposing the current delivery status and a customer-facing tracking URL. - [List Shipments](https://docs.whop.com/api-reference/shipments/list-shipments.md): Lists an account's shipments. - [Retrieve Shipment](https://docs.whop.com/api-reference/shipments/retrieve-shipment.md): Retrieves a shipment by its ID, or by the ID of the payment it fulfills. - [Create Shipment](https://docs.whop.com/api-reference/shipments/create-shipment.md): Attaches a carrier tracking number to a payment and begins tracking it. - [Look Up Shipment](https://docs.whop.com/api-reference/shipments/look-up-shipment.md): Finds the delivery for a purchase from an account with customer tracking turned on, using exactly one order or tracking number plus the buyer's current receipt email. No authentication is required and no sign-in or session is created. Email matching ignores case and surrounding whitespace, but dots… - [Update Shipment](https://docs.whop.com/api-reference/shipments/update-shipment.md): Updates a shipment's tracking number and re-tracks it with the carrier. - [Shipment created](https://docs.whop.com/api-reference/shipments/shipment-created.md): Sent when a shipment is created - [Shipment updated](https://docs.whop.com/api-reference/shipments/shipment-updated.md): Sent when a shipment is updated #### Reviews - [List Reviews](https://docs.whop.com/api-reference/reviews/list-reviews.md): Lists the published reviews for a product or account. Without `account_id` or `product_id`, a user lists the reviews they wrote, an account or app API key lists its account's reviews, and a request without credentials returns 400. - [Retrieve Review](https://docs.whop.com/api-reference/reviews/retrieve-review.md): Retrieves a published review. Reviews that are not published return 404. - [Delete Review](https://docs.whop.com/api-reference/reviews/delete-review.md): Deletes a review the signed-in user wrote. Requires the `review:delete` scope, and returns 404 for a review another user wrote. #### Review Reports - [List Review Reports](https://docs.whop.com/api-reference/review-reports/list-review-reports.md): Lists the reports filed against customer reviews on the accounts you can moderate, newest first. Use it to check whether a review was reported and where the report stands. Omit `account_id` to cover every account you can moderate. #### Product Affiliates - [Product Affiliate](https://docs.whop.com/api-reference/product-affiliates/product-affiliate.md): A Product Affiliate represents a user's enrollment in a product's affiliate program. An enrollment can exist before the user makes a referral or earns a reward. - [List Product Affiliates](https://docs.whop.com/api-reference/product-affiliates/list-product-affiliates.md): Lists affiliate enrollments for an account's products, newest first, including affiliates who have not made a referral. Requires `affiliate:basic:read` on the account. Email addresses and email search also require `member:email:read`. ### Websites #### Domains - [Domain](https://docs.whop.com/api-reference/domains/domain.md): A Domain is a hostname an account holds on Whop. Its capabilities set what Whop does with it: `registration` buys the domain through Whop, runs its DNS, and renews it every year; `verification` connects a domain registered elsewhere once you publish the DNS records it returns, and expires if ownersh… - [List Domains](https://docs.whop.com/api-reference/domains/list-domains.md): Lists your domains. Filter by account, app, status, hostname, or the state of a capability. - [Retrieve Domain](https://docs.whop.com/api-reference/domains/retrieve-domain.md): Retrieves a domain by ID or hostname. Both return the same domain, shown as fully as you can see it: everything for your own accounts, and only who has it and what it serves for anyone else. - [Create Domain](https://docs.whop.com/api-reference/domains/create-domain.md): Adds a domain to your account with the capabilities you want. - [Check Domain](https://docs.whop.com/api-reference/domains/check-domain.md): Checks the domain's DNS, payment, and provider state again now instead of at its next scheduled check. Returns the domain as saved; retrieve it again to see the result. - [Update Domain](https://docs.whop.com/api-reference/domains/update-domain.md): Changes a domain's capabilities or metadata. Pass a capability to add it or change its settings, or `null` to release it; capabilities you leave out don't change. Passing a capability that needs action again retries it. Releasing every capability keeps the domain, `idle`; delete it to remove it. - [Delete Domain](https://docs.whop.com/api-reference/domains/delete-domain.md): Removes the domain from your account and releases its capabilities in the background. Deleting an unpaid purchase cancels it, and deleting a transfer cancels it and refunds it while the current registrar can still stop it. A registered domain can't be deleted; turn off `auto_renew` and it's released… - [Domain created](https://docs.whop.com/api-reference/domains/domain-created.md): Sent when a domain is added to the account, including domains Whop adds itself, such as an Apple Pay domain registered when checkout loads on a new site or a site the Whop pixel sees traffic from, and a deleted domain that comes back - [Domain deleted](https://docs.whop.com/api-reference/domains/domain-deleted.md): Sent when a domain is deleted, including when Whop removes a domain it added once nothing uses it. The payload is the domain as it was when it was deleted - [Domain updated](https://docs.whop.com/api-reference/domains/domain-updated.md): Sent when a domain's fields change, such as its status or a capability's state, verification, or issues. previous_attributes carries the previous values of the fields that changed #### Apps - [App](https://docs.whop.com/api-reference/apps/app.md): An App is software you build on Whop. It can be a hosted web app served at its domains, such as a `whop.site` address or a custom domain, or an API integration installed as an experience, and it belongs to the account that owns its credentials, settings, builds, and runtime logs. - [List Apps](https://docs.whop.com/api-reference/apps/list-apps.md): Lists apps on the Whop platform: the app store's live apps, or — with `account_id` and developer access to that account — every app the account owns. Requires authentication except for Whop's public app and website discovery lists. Public website discovery includes built official blueprints (verifie… - [Retrieve App](https://docs.whop.com/api-reference/apps/retrieve-app.md): Retrieves an app by ID, claimed route, active verified custom hostname, or proxy domain id. Authentication is optional; credential fields stay `null` unless you have the matching developer permission on the owning account. - [List App Logs](https://docs.whop.com/api-reference/apps/list-app-logs.md): Lists a hosted app's server runtime logs, most recent first: console output, uncaught exceptions, and failed-request summaries captured on whop.site hosting. Logs are retained for 7 days. - [Create App](https://docs.whop.com/api-reference/apps/create-app.md): Registers a new app on the Whop developer platform. Apps provide custom experiences that can be added to products. - [Deploy App](https://docs.whop.com/api-reference/apps/deploy-app.md): Builds the app's current source and ships it. Returns the run it started, so the caller can render progress from this response and then follow it on the app's `deployment` field. Only one deployment runs per app at a time — calling this while one is in flight reports that run rather than starting a… - [Update App](https://docs.whop.com/api-reference/apps/update-app.md): Updates the settings, metadata, or status of an app. Fields that are omitted keep their current value. - [Update App Permissions](https://docs.whop.com/api-reference/apps/update-app-permissions.md): Replaces the set of permissions the app requests from users when they install it. Requires a user session: the `developer:update_app_authorization` scope cannot be delegated to API keys. Sensitive permissions require step-up verification. - [Delete App](https://docs.whop.com/api-reference/apps/delete-app.md): Deletes an app. The app stops resolving within seconds — a website's site stops serving, and any claimed subdomain is reserved for a month before it can be claimed again. #### App Builds - [App Build](https://docs.whop.com/api-reference/app-builds/app-build.md): An App Build is a versioned artifact uploaded for an app — a hosted web archive, or an iOS/Android bundle. Builds start as drafts, go through review, and one approved build per platform is served to users as the production build. - [List App Builds](https://docs.whop.com/api-reference/app-builds/list-app-builds.md): Returns a paginated list of build artifacts for an app, newest first, with optional platform, status, and creation-date filters. - [Retrieve App Build](https://docs.whop.com/api-reference/app-builds/retrieve-app-build.md): Retrieves the details of an existing app build. - [Create App Build](https://docs.whop.com/api-reference/app-builds/create-app-build.md): Uploads a new build artifact for an app. Upload the file first with `POST /files` or a direct upload, then reference it in `attachment`. - [Promote App Build](https://docs.whop.com/api-reference/app-builds/promote-app-build.md): Promotes a draft or approved app build to production so it becomes the active version served to users. Draft builds enter review first. #### App Installations - [App Installation](https://docs.whop.com/api-reference/app-installations/app-installation.md): An App Installation represents one install of your app on one account. An account installs an app once, however many experiences it adds, so an installation holds state that belongs to the account rather than to one experience, such as a sync cursor or the ID of the account it's linked to in another… - [List App Installations](https://docs.whop.com/api-reference/app-installations/list-app-installations.md): Lists app installations, newest first. An app's API key lists the accounts that installed it. An account lists the apps installed on it; a user passes that account's `account_id`. The developer of an app lists every installation of it by passing `app_id`. Uninstalled apps, deleted apps and deleted a… - [Retrieve App Installation](https://docs.whop.com/api-reference/app-installations/retrieve-app-installation.md): Retrieves an app installation, with the metadata the app stores on it. The app, its developer and the account it's installed on can retrieve it. - [Update App Installation](https://docs.whop.com/api-reference/app-installations/update-app-installation.md): Updates the `metadata` and `external_id` your app keeps on an installation. Only the metadata keys you send change, so separate jobs can each keep their own keys. - [App installation created](https://docs.whop.com/api-reference/app-installations/app-installation-created.md): Sent to your app's own webhooks when an account installs your app, including when an account that removed it installs it again. A reinstall keeps the installation's `id`, `created_at`, and `metadata`. The envelope's `account_id` is the installing account - [App installation deleted](https://docs.whop.com/api-reference/app-installations/app-installation-deleted.md): Sent to your app's own webhooks when an account removes your app. The installation stops appearing in `GET /app_installations`, and your app can no longer act on that account. The envelope's `account_id` is the account that removed it #### Experiments - [Experiment](https://docs.whop.com/api-reference/experiments/experiment.md): An Experiment is a feature flag or A/B test owned by an account. Treatments take stable percentage ranges of traffic and everyone else gets control, so growing an allocation never moves an existing user to another arm. - [List Experiments](https://docs.whop.com/api-reference/experiments/list-experiments.md): Lists the experiments and feature flags owned by an account. Requires `experiment:read` on the account. - [Retrieve Experiment](https://docs.whop.com/api-reference/experiments/retrieve-experiment.md): Retrieves an experiment or feature flag by its `expt_` ID or `flag_key` handle. Requires `experiment:read` on the owning account. - [Evaluate Experiments](https://docs.whop.com/api-reference/experiments/evaluate-experiments.md): Evaluates experiments and feature flags for a subject and records an exposure. Pass `flag_key` to evaluate one flag, or omit it to evaluate every active flag in the account and related resource scope. Requires no authentication; when a credential resolves, its authentication method, API key ID, and… - [Create Experiment](https://docs.whop.com/api-reference/experiments/create-experiment.md): Creates an experiment or feature flag in `draft` status for an account. Nothing is served until you activate it with `POST /experiments/:id/activate`. Requires `experiment:manage` on the account. - [Activate Experiment](https://docs.whop.com/api-reference/experiments/activate-experiment.md): Starts (or resumes) an experiment or feature flag so evaluation begins serving it. Activating a draft stamps `started_at`; resuming a paused experiment keeps the original start. Only drafts and paused experiments can be activated. Requires `experiment:manage` on the owning account. - [End Experiment](https://docs.whop.com/api-reference/experiments/end-experiment.md): Concludes the experiment and records required `findings`. Pass `winning_arm` to serve the winning treatment to everyone; omit it when control won. Ended experiments cannot restart, but may be ended again to correct the winner. Requires `experiment:manage` on the owning account. - [Pause Experiment](https://docs.whop.com/api-reference/experiments/pause-experiment.md): Pauses an active experiment or feature flag: evaluation stops serving it and exposures stop flowing. Assignments are keyed on stable identity, so users return to their original arm when the experiment resumes. Requires `experiment:manage` on the owning account. - [Update Experiment](https://docs.whop.com/api-reference/experiments/update-experiment.md): Updates the targeting rules, treatment allocation, or hypothesis of an existing experiment or feature flag. To change its lifecycle, use the `activate`, `pause`, and `end` endpoints instead. Requires `experiment:manage` on the owning account. ### Ads - [Overview](https://docs.whop.com/api-reference/ads/overview.md): Launch Whop Ads through the API: generate a creative, then create the campaign, ad group, and ad in one request. Covers setup, billing, and errors. #### Ad Campaigns - [Ad Campaign](https://docs.whop.com/api-reference/ad-campaigns/ad-campaign.md): An Ad Campaign is the top-level container for paid ads. It sets the objective and budget strategy shared by its [ad groups](/api-reference/ad-groups/ad-group) and ads. - [List Ad Campaigns](https://docs.whop.com/api-reference/ad-campaigns/list-ad-campaigns.md): Lists the ad campaigns for an account, with stats over the requested window. - [Retrieve an Ad Campaign](https://docs.whop.com/api-reference/ad-campaigns/retrieve-an-ad-campaign.md): Retrieves a single ad campaign with stats over the requested window. - [Create an Ad Campaign](https://docs.whop.com/api-reference/ad-campaigns/create-an-ad-campaign.md): Creates an ad campaign in `draft` status for an account. Nothing runs until you launch it by setting `status` to `active` with `PATCH /ad_campaigns/:id`. - [Duplicate an Ad Campaign](https://docs.whop.com/api-reference/ad-campaigns/duplicate-an-ad-campaign.md): Creates copies of the campaign in `duplicating` status and returns them; each copy transitions to `draft` once duplication completes. Poll each returned campaign until it leaves `duplicating` — a copy that could not be completed is deleted and returns 404. - [Pause an Ad Campaign](https://docs.whop.com/api-reference/ad-campaigns/pause-an-ad-campaign.md): Pauses an active ad campaign. - [Retry a Failed Ad Campaign Payment](https://docs.whop.com/api-reference/ad-campaigns/retry-a-failed-ad-campaign-payment.md): Queues a background payment retry for the campaign's entire account, including other campaigns with failed payments. The returned campaign does not confirm payment success; read `delivery_status` and `issues` for the outcome. Deprecated: API versions 2026-09-22 and later return `410 Gone`; use `POST… - [Unpause an Ad Campaign](https://docs.whop.com/api-reference/ad-campaigns/unpause-an-ad-campaign.md): Resumes a paused ad campaign. Requires an ads payment method on the account. - [Update an Ad Campaign](https://docs.whop.com/api-reference/ad-campaigns/update-an-ad-campaign.md): Updates an ad campaign's settings, or launches a draft campaign by setting `status` to `active`. The objective is fixed at creation and cannot be changed. - [Delete an Ad Campaign](https://docs.whop.com/api-reference/ad-campaigns/delete-an-ad-campaign.md): Deletes an ad campaign with its ad groups and ads, and stops their delivery. - [Ad Campaign Payment Failed](https://docs.whop.com/api-reference/ad-campaigns/ad-campaign-payment-failed.md): Sent when an ad campaign's payment fails and its ads stop delivering. The payload carries no performance stats; read the campaign for those - [Ad campaign updated](https://docs.whop.com/api-reference/ad-campaigns/ad-campaign-updated.md): Sent when an ad campaign's status or delivery_status changes. previous_attributes carries the values they changed from; the payload carries no performance stats #### Ad Groups - [Ad Group](https://docs.whop.com/api-reference/ad-groups/ad-group.md): An Ad Group sits inside an [ad campaign](/api-reference/ad-campaigns/ad-campaign) and controls delivery for [ads](/api-reference/ads/ad). It sets the audience, schedule, and budget for its ads. - [List Ad Groups](https://docs.whop.com/api-reference/ad-groups/list-ad-groups.md): Lists ad groups for the account, newest first. - [Retrieve an Ad Group](https://docs.whop.com/api-reference/ad-groups/retrieve-an-ad-group.md): Retrieves an ad group, with performance stats for the window set by `stats_from` and `stats_to`. - [Create an Ad Group](https://docs.whop.com/api-reference/ad-groups/create-an-ad-group.md): Creates an ad group (ad set) in a campaign. - [Duplicate an Ad Group](https://docs.whop.com/api-reference/ad-groups/duplicate-an-ad-group.md): Starts copying an ad group and returns the copies in `duplicating` status. Poll each returned ad group until it leaves `duplicating`: it then takes the source's `active` or `paused` status, or, if the copy could not be completed, is deleted and returns 404. - [Pause an Ad Group](https://docs.whop.com/api-reference/ad-groups/pause-an-ad-group.md): Pauses delivery of an ad group. - [Unpause an Ad Group](https://docs.whop.com/api-reference/ad-groups/unpause-an-ad-group.md): Resumes delivery of a paused ad group. - [Update an Ad Group](https://docs.whop.com/api-reference/ad-groups/update-an-ad-group.md): Updates an ad group's editable fields. Only the keys you send are changed. - [Delete an Ad Group](https://docs.whop.com/api-reference/ad-groups/delete-an-ad-group.md): Deletes an ad group and stops its delivery. - [Ad group updated](https://docs.whop.com/api-reference/ad-groups/ad-group-updated.md): Sent when an ad group's status, delivery_status, or budget changes. previous_attributes carries the values they changed from; the payload carries no performance stats #### Ads - [Ad](https://docs.whop.com/api-reference/ads/ad.md): An Ad is the individual creative unit delivered by an [ad group](/api-reference/ad-groups/ad-group). It holds the copy, creative assets, and destination URL for one ad. - [List Ads](https://docs.whop.com/api-reference/ads/list-ads.md): Lists the ads for an account, with stats over the requested window. - [Retrieve an Ad](https://docs.whop.com/api-reference/ads/retrieve-an-ad.md): Retrieves a single ad with stats over the requested window. - [Create an Ad](https://docs.whop.com/api-reference/ads/create-an-ad.md): Creates an ad in an ad group. Any campaign status other than `draft` launches the campaign, which requires an ads payment method on the account. - [Duplicate an Ad](https://docs.whop.com/api-reference/ads/duplicate-an-ad.md): Copies an ad into its own ad group or into another one. Copies keep the source ad's active or paused state. - [Pause an Ad](https://docs.whop.com/api-reference/ads/pause-an-ad.md): Pauses an active ad. - [Unpause an Ad](https://docs.whop.com/api-reference/ads/unpause-an-ad.md): Resumes a paused ad. - [Update an Ad](https://docs.whop.com/api-reference/ads/update-an-ad.md): Updates an ad's editable fields. - [Delete an Ad](https://docs.whop.com/api-reference/ads/delete-an-ad.md): Deletes an ad. - [Ad updated](https://docs.whop.com/api-reference/ads/ad-updated.md): Sent when an ad's status or delivery_status changes, including the in_review and rejected verdicts from ad review. previous_attributes carries the values they changed from; the payload carries no performance stats #### Audiences - [Audience](https://docs.whop.com/api-reference/audiences/audience.md): An Audience is a reusable group of people to include or exclude when targeting ads. Build custom audiences from customer lists or Whop People data, and create lookalikes to reach people similar to an existing audience. - [Create](https://docs.whop.com/api-reference/audiences/create-audience.md): Creates a custom audience from a customer list or your account's Whop People data, or a lookalike audience that reaches people similar to an existing one. Processing runs asynchronously. A custom audience returns one audience; a lookalike returns the requested similarity bands in `data`. - [List Audiences](https://docs.whop.com/api-reference/audiences/list-audiences.md): Lists an account's custom and lookalike audiences. - [Add People](https://docs.whop.com/api-reference/audiences/add-people.md): Adds users from a new CSV file to an existing uploaded custom audience. The file uses the audience's saved column mapping, processing happens in the background, and existing audience members remain unchanged. - [Update Audience](https://docs.whop.com/api-reference/audiences/update-audience.md): Renames an audience. For an audience built from People filters that keeps itself up to date, pass `filters` to replace them, which rebuilds membership immediately. Whether an audience auto refreshes is set when it is created. - [Delete Audience](https://docs.whop.com/api-reference/audiences/delete-audience.md): Deletes an audience so it is no longer available for targeting. #### Ad Pixels - [Ad Pixel](https://docs.whop.com/api-reference/ad-pixels/ad-pixel.md): An Ad Pixel connects a pixel you own on an ad platform to a business whose campaigns you claimed through the advertiser supplier program. Whop sends that pixel the conversions credited to your claimed campaigns for that business, using the access token you provide. - [List Ad Pixels](https://docs.whop.com/api-reference/ad-pixels/list-ad-pixels.md): List the pixels you added for businesses whose campaigns you claimed. - [Retrieve an Ad Pixel](https://docs.whop.com/api-reference/ad-pixels/retrieve-an-ad-pixel.md) - [Create an Ad Pixel](https://docs.whop.com/api-reference/ad-pixels/create-an-ad-pixel.md): Add your pixel for a business whose campaigns you claimed. Whop checks the access token with the ad platform, then sends the pixel the conversions credited to your claimed campaigns for that business. Each business takes one pixel per ad platform, and each pixel can serve one business. On Google, th… - [Update an Ad Pixel](https://docs.whop.com/api-reference/ad-pixels/update-an-ad-pixel.md): Replace the pixel's access token. Whop checks the new token with the ad platform and resumes deliveries to an `errored` pixel. - [Delete an Ad Pixel](https://docs.whop.com/api-reference/ad-pixels/delete-an-ad-pixel.md): Remove the pixel and its access token. Whop stops sending it conversions. ### Analytics #### Stats - [Stats](https://docs.whop.com/api-reference/stats/stats.md): Stats represent aggregated activity for an account over time. They help you understand revenue, transactions, disputes, members, referrals, and advertising performance across reporting periods like days, weeks, or months. ##### Reports - [List Reports](https://docs.whop.com/api-reference/stats/list-reports.md): Lists every report: the aggregates that are not bucketed over time, with the breakdowns and columns each one accepts. Use it to discover what a report can return before you retrieve it. For a bucketed series, use `GET /stats/time_series`. ##### Time Series - [List Time Series Metrics](https://docs.whop.com/api-reference/stats/list-time-series-metrics.md): Lists the metrics you can chart over time, with the unit each reports and the properties you can filter or break it down by. Aggregates that are not bucketed over time are reports, listed at `GET /stats/reports`. - [Retrieve Metric Time Series](https://docs.whop.com/api-reference/stats/retrieve-metric-time-series.md): Retrieves a metric as a series of points over a time range for an account or user. For an aggregate that is not bucketed over time, use a report from `GET /stats/reports`. The `market_prices` metric is public and requires no authentication. #### People - [People](https://docs.whop.com/api-reference/people/person.md): A Person is an identity-linked profile of a visitor or customer of an account, assembled from every [event](/api-reference/events/event) the person generated, such as pixel page views, ad clicks, leads, and payments. - [List People](https://docs.whop.com/api-reference/people/list-people.md): Lists the people (visitors and customers) of an account: identity-linked profiles assembled from every pixel, payment, and platform event. Filter and sort them to segment an account's audience. - [Retrieve Person](https://docs.whop.com/api-reference/people/retrieve-person.md): Retrieves one person for an account, looked up by person ID, user ID, email address, or phone number. #### Events - [Events](https://docs.whop.com/api-reference/events/event.md): An Event records conversion or engagement activity for an account, such as page views, purchases, or leads. Each event ties the action to the [person](/api-reference/people/person) who took it, so activity can be attributed to the ads and links that drove it. - [List Events](https://docs.whop.com/api-reference/events/list-events.md): Lists identity-linked events, most recent first by default. Pass `identifier` for one person's journey, or omit it to list an account's events within a time range. Events have the same shape as the `POST /events` intake: attribution in `context`, identity in `user`. - [Retrieve the Pulse Feed](https://docs.whop.com/api-reference/events/retrieve-the-pulse-feed.md): Returns a fully anonymized feed of recent money movement across Whop, most recent first, such as purchases, card spend, and transfers between accounts. Each item carries only its `type`, a USD amount, a coarse location, and a timestamp coarsened to the minute. The payload is identical for every call… - [Create Event](https://docs.whop.com/api-reference/events/create-event.md): Tracks a conversion or engagement event for an account, such as a lead or a sign-up, so it can be attributed to the ads and links that drove it. Send server-side events with an API key that has `event:create`; the browser pixel calls this without authentication. - [Validate Pixel](https://docs.whop.com/api-reference/events/validate-pixel.md): Checks whether the Whop pixel is installed for an account, or on one page when you pass a `url`. Use it before launching an ad to confirm its destination is tracked, or in a setup flow to tell a merchant whether their install is live. - [Events created](https://docs.whop.com/api-reference/events/events-created.md): Sent with events recorded by the Whop pixel or `POST /events`: page views, standard events such as `view_content` and `add_to_cart`, and custom events. Each event carries the visitor's `wuid`, UTM parameters and ad click ids as the page reported them. Events are batched: each delivery carries up to… #### Exports - [Export](https://docs.whop.com/api-reference/exports/export.md): An Export is a CSV of one of an account's dashboard tables, such as members, payments, or disputes. Exports are generated in the background, so a new export starts `pending` and becomes `completed` with a download link. - [List Exports](https://docs.whop.com/api-reference/exports/list-exports.md): Lists the exports requested for an account, newest first. Only exports of resources the credential is allowed to export are returned. - [Retrieve Export](https://docs.whop.com/api-reference/exports/retrieve-export.md): Fetches an export's status and, once complete, its download link. - [Create Export](https://docs.whop.com/api-reference/exports/create-export.md): Starts an asynchronous export of a resource for an account. Returns the export in `pending`; poll `GET /exports/:id` until `download_url` is set. - [Export completed](https://docs.whop.com/api-reference/exports/export-completed.md): Sent when an export is completed - [Export failed](https://docs.whop.com/api-reference/exports/export-failed.md): Sent when an export is failed #### Economic Intelligence - [Economic Intelligence](https://docs.whop.com/api-reference/economic-intelligence/economic-intelligence.md): Economic Intelligence is Whop's recommendation engine for an account. Each recommendation is one action: a title the owner sees, a step-by-step brief Whop AI carries out, and the result it expects. Whop generates them from the account's sales, site, ads, and what its owner has said. - [List Economic Intelligence](https://docs.whop.com/api-reference/economic-intelligence/list-economic-intelligence.md): Lists an account's recommendations and generation requests, newest first by default. When no recommendations are ready or in progress and you have `company:update` permission, listing queues generation, with a ten-minute cooldown after an unsuccessful request; unsuccessful requests are not listed. A… - [Update Recommendation](https://docs.whop.com/api-reference/economic-intelligence/update-recommendation.md): Updates a recommendation status, records feedback, or both. Send `sentiment` to rate it. Include `status: superseded` to retire a ready recommendation and request replacements; a rating alone leaves its status unchanged. To run a recommendation yourself, send `status: running` to start, then `status… ### Communication #### Channels - [List Channels](https://docs.whop.com/api-reference/channels/list-channels.md): List channels you can access. - [Retrieve Channel](https://docs.whop.com/api-reference/channels/retrieve-channel.md): Retrieve a channel. - [Create Channel](https://docs.whop.com/api-reference/channels/create-channel.md): Create a private, community or support channel. Returns an existing private or support channel unchanged with `200`, or a new channel with `201`. - [Accept DM Request](https://docs.whop.com/api-reference/channels/accept-dm-request.md): Accept a direct-message request. - [Decline DM Request](https://docs.whop.com/api-reference/channels/decline-dm-request.md): Decline a DM request by hiding the channel from your inbox. - [Mark Channel Read](https://docs.whop.com/api-reference/channels/mark-channel-read.md): Mark a channel as read and optionally record viewed messages. - [Mark Channel Unread](https://docs.whop.com/api-reference/channels/mark-channel-unread.md): Mark a channel as unread for the authenticated user. Experience channels are unchanged. - [Pin Channel](https://docs.whop.com/api-reference/channels/pin-channel.md): Pin a private or support channel for yourself. Omit position to append a new pin or keep an existing pin in place. An explicit zero-based position inserts or moves the pin and shifts the rest. At most 12 channels can be pinned. - [Reopen Support Channel](https://docs.whop.com/api-reference/channels/reopen-support-channel.md): Reopen a resolved support channel. - [Resolve Support Channel](https://docs.whop.com/api-reference/channels/resolve-support-channel.md): Resolve a support channel. - [Unpin Channel](https://docs.whop.com/api-reference/channels/unpin-channel.md): Remove a channel from your pins and compact the remaining order. Your discarded memberships and inaccessible channels can be unpinned. Does not return channel data or grant read access. - [Update Channel](https://docs.whop.com/api-reference/channels/update-channel.md): Update a channel. Community icon changes update the experience logo and require `experience:update`. Support rename and notification changes require `support_chat:create`. Private and support writes require a user identity with channel management permission; account API keys can update community cha… - [Delete Channel](https://docs.whop.com/api-reference/channels/delete-channel.md): Delete a channel. Deleting a support channel requires `support_chat:create` on the account. Community channels delete their backing experience and accept account API keys with the `experience:delete` permission. Private and support channels require a user identity with channel management permission;… #### Channel Members - [List Channel Members](https://docs.whop.com/api-reference/channel-members/list-channel-members.md): List or search the people in a channel. - [Retrieve Channel Member](https://docs.whop.com/api-reference/channel-members/retrieve-channel-member.md): Retrieve a channel member and their read position. - [Add Channel Member](https://docs.whop.com/api-reference/channel-members/add-channel-member.md): Add a member to a direct or support channel. - [Update Channel Member](https://docs.whop.com/api-reference/channel-members/update-channel-member.md): Update your notification preference using your stored membership ID in a private or support channel. - [Remove Channel Member](https://docs.whop.com/api-reference/channel-members/remove-channel-member.md): Remove a channel member, or leave the channel yourself. Requires dms:channel:manage and access to the channel. Removing someone else also requires permission to manage its members. #### Messages - [List Messages](https://docs.whop.com/api-reference/messages/list-messages.md): Lists messages in a channel. Existing public message and channel IDs are preserved. For reconnect synchronization, use inclusive updated_after with include_deleted=true; results use ascending change order. Follow the returned cursors and replace cached messages by ID, including when updated_at is un… - [Retrieve Message](https://docs.whop.com/api-reference/messages/retrieve-message.md): Retrieves a live message from an accessible channel. Use list synchronization to retrieve deletion entries. - [List Message Reactions](https://docs.whop.com/api-reference/messages/list-message-reactions.md): List who reacted to a message, newest first. Optionally filter by emoji. - [Send Message](https://docs.whop.com/api-reference/messages/send-message.md): Sends a Markdown message as the authenticated user or app agent. Channel access, posting restrictions, moderation, and delivery follow the existing chat services. Use Idempotency-Key to safely retry a send. The response and realtime message use the same message ID. Custom author presentation and emb… - [Pin Message](https://docs.whop.com/api-reference/messages/pin-message.md): Pins a message in its channel. Requires the channel's pin permission. - [React to Message](https://docs.whop.com/api-reference/messages/react-to-message.md): Add your emoji reaction to a message. Reacting again with the same emoji changes nothing. - [Unpin Message](https://docs.whop.com/api-reference/messages/unpin-message.md): Unpins a message in its channel. Requires the channel's pin permission. - [Remove Reaction from Message](https://docs.whop.com/api-reference/messages/remove-reaction-from-message.md): Remove your emoji reaction from a message. Removing a reaction you have not added changes nothing. - [Vote on Message](https://docs.whop.com/api-reference/messages/vote-on-message.md): Vote for one option on a message poll. Each user can vote once per poll. - [Update Message](https://docs.whop.com/api-reference/messages/update-message.md): Updates the author's message. Use the pin and unpin actions to change its pin state. Omitted fields are preserved; attachment and preview collections replace their previous values. - [Delete Message](https://docs.whop.com/api-reference/messages/delete-message.md): Deletes a message as its author or a permitted moderator. Deleted messages remain available as redacted entries through list synchronization. #### Livestreams - [Livestream](https://docs.whop.com/api-reference/livestreams/livestream.md): A Livestream represents a live video broadcast in an experience. After a recorded livestream ends, members can watch the replay, and moderators can pin the best recordings to feature them. - [List Livestreams](https://docs.whop.com/api-reference/livestreams/list-livestreams.md): Lists the livestreams in an experience, live and ended, newest first. - [Retrieve Livestream](https://docs.whop.com/api-reference/livestreams/retrieve-livestream.md): Retrieves a livestream by ID. - [Pin Livestream](https://docs.whop.com/api-reference/livestreams/pin-livestream.md): Pins an ended livestream's recording so everyone in the experience sees it featured. Pinning it again keeps the original `pinned_at`. - [Unpin Livestream](https://docs.whop.com/api-reference/livestreams/unpin-livestream.md): Unpins a livestream's recording so it is no longer featured in the experience. #### Notifications - [Notification](https://docs.whop.com/api-reference/notifications/notification.md): A Notification is a message delivered to a user, such as a new post, a payment, or a mention. Each one comes from an experience the user belongs to or a team they are on, and falls under a topic, like new sales, that users set preferences on. - [List Notifications](https://docs.whop.com/api-reference/notifications/list-notifications.md): Lists the authenticated user's notifications, newest first. Without filters the feed spans every experience the user belongs to plus the teams they are a member of. Requires a user credential — an account API key has no notification feed. - [Retrieve Notification](https://docs.whop.com/api-reference/notifications/retrieve-notification.md): Retrieves a single notification, from the feed or from a push or websocket event. Requires a user credential. - [List Notification Badges](https://docs.whop.com/api-reference/notifications/list-notification-badges.md): Lists the authenticated user's per-experience unread badge state. Requires a user credential. Returns one row per experience the user belongs to (or per requested experience). - [List Notification Topics](https://docs.whop.com/api-reference/notifications/list-notification-topics.md): Lists the platform's visible notification topics — the categories users can set notification preferences on. App-created topics are not returned. - [Send Notification](https://docs.whop.com/api-reference/notifications/send-notification.md): Queues a notification to every user of an experience or to an account's team, processed asynchronously. Every send is attributed to an app: use an app API key, or a credential acting on behalf of an app. Narrow the audience with `user_ids` to send a mention. - [Mark Notifications Read](https://docs.whop.com/api-reference/notifications/mark-notifications-read.md): Marks the authenticated user's notifications as read, for one experience or all of them, and returns the refreshed badge rows for that scope. Requires a user credential. #### Email Addresses - [List Email Addresses](https://docs.whop.com/api-reference/email-addresses/list-email-addresses.md): Lists the email addresses of the accounts you can read, and the mailboxes you own. A password is included only for mailboxes you can use. - [Retrieve Email Address](https://docs.whop.com/api-reference/email-addresses/retrieve-email-address.md): Retrieves an email address. Its owner can always retrieve it; anyone else needs `email:read`. The password is included only if you can use the mailbox. - [Download Email Address Configuration Profile](https://docs.whop.com/api-reference/email-addresses/download-email-address-configuration-profile.md): Downloads an Apple configuration profile that adds the mailbox to Mail on a Mac, iPhone or iPad, signed in and ready to send. Only the owner can download it for an owned mailbox; a shared one needs `email:read` and `email:send`. - [Create Email Address](https://docs.whop.com/api-reference/email-addresses/create-email-address.md): Creates a mailbox on one of the account's domains. The domain needs the `email` capability turned on. The address can be created and signed in to while email is still setting up, and it can send once email is `ready`. Give it to a team member with `user_id`, or leave it out to share the mailbox with… - [Reset Email Address Password](https://docs.whop.com/api-reference/email-addresses/reset-email-address-password.md): Gives the mailbox a new password. Every mail app signed in with the old one loses access. Only the owner can reset an owned mailbox; a shared one needs `email:read` and `email:send`. - [Update Email Address](https://docs.whop.com/api-reference/email-addresses/update-email-address.md): Gives the mailbox to a team member, or shares it with the account, under a new password. A mailbox that had an owner starts empty, because its earlier mail is private to that owner; mail apps sync it again from the start. - [Delete Email Address](https://docs.whop.com/api-reference/email-addresses/delete-email-address.md): Deletes the address. Mail apps signed in to it lose access, and mail sent to it is no longer received. Its mail is kept, and creating the address again in this account brings the mailbox back. #### Automations - [List Automations](https://docs.whop.com/api-reference/automations/list-automations.md): Lists automations, newest first. - [Retrieve Automation](https://docs.whop.com/api-reference/automations/retrieve-automation.md): Retrieves an automation, with how many members are in it now and how many times members have enrolled in it. - [Create Automation](https://docs.whop.com/api-reference/automations/create-automation.md): Creates an automation, `stopped`, with an empty draft version. Add steps with `POST /automation_steps`, then publish it with `POST /automations/{id}/publish`, which makes it `active`. - [Publish Automation](https://docs.whop.com/api-reference/automations/publish-automation.md): Publishes the draft version: new members start on it, and the automation becomes `active`. Members already in the automation move onto it: onto the same step when it's still there, or, when the draft removed it, onto the step that now follows the nearest earlier step the draft kept. The draft is the… - [Trigger Automation](https://docs.whop.com/api-reference/automations/trigger-automation.md): Enrolls members into an active automation at the first step of its published version: the members you name, or every member `GET /members` lists with the filters you pass, as they match now. Members already in the automation are skipped. Enrolling runs in the background, so this returns the automati… - [Update Automation](https://docs.whop.com/api-reference/automations/update-automation.md): Renames an automation, changes its trigger event before its first publish, sets its secrets, or changes its status. Changing `secrets` or `status` also needs `automation:manage`. Use `POST /automations/{id}/publish` to publish the draft, and the steps endpoints to change what it does. - [Delete Automation](https://docs.whop.com/api-reference/automations/delete-automation.md): Deletes an automation. It stops enrolling members, and every member in it stops. #### Automation Steps - [List Automation Steps](https://docs.whop.com/api-reference/automation-steps/list-automation-steps.md): Lists automation steps. With `automation_id`, lists one version of that automation in the order its steps run: the draft version unless `version` names another. Without it, lists the steps of every version of every automation, newest first. Steps get new IDs at every publish, so list them again afte… - [Retrieve Automation Step](https://docs.whop.com/api-reference/automation-steps/retrieve-automation-step.md): Retrieves an automation step, with how many members are waiting for it. - [Create Automation Step](https://docs.whop.com/api-reference/automation-steps/create-automation-step.md): Adds a step to an automation's draft version, directly after `previous_step_id`, or first when it's left out. The step that held that position now runs after the new one. Steps can't be moved, so add each one where it belongs. Setting `source_code` also needs every read permission listed for preview… - [Preview Automation Step](https://docs.whop.com/api-reference/automation-steps/preview-automation-step.md): Runs an `email` or `message` step's code for one member, as if they had reached it, and returns what it would send. Nothing is sent. The step's code reads the account with every account-level `:read` permission that both the admin role and Whop AI hold except `payout:account:read`, so previewing, li… - [Update Automation Step](https://docs.whop.com/api-reference/automation-steps/update-automation-step.md): Edits a step of the draft version. A published version's steps never change; edit the same `key` in the draft instead. `previous_step_id` can't change. Setting `source_code` also needs every read permission listed for previewing a step, which the step's code reads the account with. - [Delete Automation Step](https://docs.whop.com/api-reference/automation-steps/delete-automation-step.md): Deletes a step of the draft version. The step after it runs in its place. Members already in the automation aren't affected until the draft is published. #### Automation Enrollments - [List Automation Enrollments](https://docs.whop.com/api-reference/automation-enrollments/list-automation-enrollments.md): Lists members' enrollments in automations, newest first. - [Retrieve Automation Enrollment](https://docs.whop.com/api-reference/automation-enrollments/retrieve-automation-enrollment.md): Retrieves a member's enrollment in an automation, with the step they're waiting on. - [Cancel Automation Enrollment](https://docs.whop.com/api-reference/automation-enrollments/cancel-automation-enrollment.md): Cancels an `active` enrollment: the member gets none of the automation's remaining steps, and their enrollment becomes `canceled`. The member can enroll in the automation again later. ### Partners #### Partners - [Partners](https://docs.whop.com/api-reference/partners/partner.md): Get started at [whop.com/network](https://whop.com/network). A Partner is a user who refers people and businesses to Whop. The partner profile includes enrollment, active direct business referral counts, and default payout terms. - [Retrieve a Partner](https://docs.whop.com/api-reference/partners/retrieve-a-partner.md): Retrieves the authenticated user's partner profile: enrollment and verification status, certification completion, active direct business referral count, and default payout rates. Other users' profiles are not accessible. To create and manage referral links, use `/partner_referral_requests`. - [List Referred Businesses](https://docs.whop.com/api-reference/partners/list-referred-businesses.md): Lists the businesses the authenticated user referred onto Whop, most recent first. - [Retrieve a Referred Business](https://docs.whop.com/api-reference/partners/retrieve-a-referred-business.md): Retrieves a single referred business and its referral terms. The original referrer or a caller with company:basic:read on the business credited for the referral can read it. - [List Referred Business Earnings](https://docs.whop.com/api-reference/partners/list-referred-business-earnings.md): Lists the earnings Whop pays out for one referred business's activity, most recent first. The original referrer or a caller with company:basic:read on the business credited for the referral can read them. - [Retrieve the Fee Terms a Partner Can Offer](https://docs.whop.com/api-reference/partners/retrieve-the-fee-terms-a-partner-can-offer.md): Lists, per income stream, the fee a business the caller refers would be charged, how low the caller may price it, and the commission the caller earns on that stream. Answers for a referral that does not exist yet, so a referral flow can price the deal before the business is created. Requires `partne… - [Retrieve the Leaderboard](https://docs.whop.com/api-reference/partners/retrieve-the-leaderboard.md): Ranks referrers by partner business earnings over the chosen `period`, all-time by default. Authentication is optional: authenticated callers also get their own standing, anonymous callers get the rankings alone. - [List the Users the Caller Referred](https://docs.whop.com/api-reference/partners/list-the-users-the-caller-referred.md): Lists the users the caller referred onto Whop, newest first by default, each with the caller's total affiliate earnings from that user across all tiers. - [Enroll as a Whop Partner](https://docs.whop.com/api-reference/partners/enroll-as-a-whop-partner.md): Enrolls the calling user in the Whop partner program, making their partner businesses eligible for earnings. Idempotent — enrolling again keeps the original enrollment time. - [Accept a CPA Offer](https://docs.whop.com/api-reference/partners/accept-a-cpa-offer.md): Accept the authenticated partner's CPA offer with the reviewed terms and signed offer token. Public API access requires a partner OAuth token; business API keys are not supported. - [Resend an Owner Invite](https://docs.whop.com/api-reference/partners/resend-an-owner-invite.md): Re-emails an outstanding invite to claim ownership of a referred business. Find the invite in the business's `pending_owner_invites`. Only the first-tier partner can resend, from a whop.com session or the Whop CLI or MCP with `partner:handoff`. Rate limited to one resend per invite every five minute… - [Save CPA Projections](https://docs.whop.com/api-reference/partners/save-cpa-projections.md): Save annual payment projections for a business referred by the authenticated partner. Unaccepted projections can be replaced with updated annual card and BNPL payment volume. To qualify, payment volume over the last 30 days must reach 5% of the annual payment projection. Ads are excluded from CPA; o… #### Partner Referral Requests - [Partner Referral Request](https://docs.whop.com/api-reference/partner-referral-requests/partner-referral-request.md): A Partner Referral Request is a partner's referral link, or a request to be credited as the referrer of an existing business or user. An attribution request takes effect only when the recipient accepts it. - [List Partner Referral Requests](https://docs.whop.com/api-reference/partner-referral-requests/list-partner-referral-requests.md): Lists your referral links and attribution requests, including incoming requests for you or businesses you own, with filters for recipient, partner, type, and status. - [Retrieve a Partner Referral Request](https://docs.whop.com/api-reference/partner-referral-requests/retrieve-a-partner-referral-request.md): Retrieves a referral link or attribution request by ID, including its partner, recipient, approval status, and referral code when present. - [Create a Partner Referral Request](https://docs.whop.com/api-reference/partner-referral-requests/create-a-partner-referral-request.md): Creates a referral link, or sends an attribution request to an existing business or user for approval. Links require an enrolled partner who is not suspended; attribution requests require an enrolled, verified partner. Recipients do not need to join the partner program. - [Accept a Partner Referral Request](https://docs.whop.com/api-reference/partner-referral-requests/accept-a-partner-referral-request.md): Accepts a pending attribution request as the receiving user or business owner, assigning the requesting partner as that user's or business's referrer. - [Cancel a Partner Referral Request](https://docs.whop.com/api-reference/partner-referral-requests/cancel-a-partner-referral-request.md): Cancels a pending attribution request you sent so the recipient can no longer accept it, and returns the cancelled request. - [Decline a Partner Referral Request](https://docs.whop.com/api-reference/partner-referral-requests/decline-a-partner-referral-request.md): Declines a pending attribution request for you or a business you own, marking it as denied without assigning the requesting partner as a referrer. ### Workforce #### Bounties - [Bounty](https://docs.whop.com/api-reference/bounties/bounty.md): A Bounty is a paid task posted by an account or user. The reward is held in escrow when the bounty publishes, workers submit proof of completed work, and each accepted submission is paid out until every winner slot fills. - [List Bounties](https://docs.whop.com/api-reference/bounties/list-bounties.md): Lists bounties visible to the credential — for an account API key, the account's bounties including scheduled drafts; for a user token, the bounties the user can see and work. - [Retrieve Bounty](https://docs.whop.com/api-reference/bounties/retrieve-bounty.md): Retrieves a bounty by ID. Authentication is optional: a request with no credential reads the bounty when it is publicly visible — published or completed, and not restricted to a private experience's members. Bounties outside the caller's scope, and bounties not publicly visible to an anonymous calle… - [List Public Submissions](https://docs.whop.com/api-reference/bounties/list-public-submissions.md): Lists a bounty's publicly visible work — submitted, approved, and denied submissions in the reduced public shape. Authentication is optional; a bounty that is not publicly visible returns `404`. - [Retrieve Public Submission](https://docs.whop.com/api-reference/bounties/retrieve-public-submission.md): Retrieves one of a bounty's publicly visible submissions in the reduced public shape — the read behind a shared proof link, whose submission is usually outside the bounty page's capped preview. Authentication is optional; a bounty that is not publicly visible, and a submission that is not publicly v… - [Create Bounty](https://docs.whop.com/api-reference/bounties/create-bounty.md): Creates a bounty and escrows its reward pool. Publishes immediately, or as a scheduled draft when you set `publish_at`. - [Cancel](https://docs.whop.com/api-reference/bounties/cancel.md): Cancels a bounty. With no in-flight work, it cancels immediately and refunds the funder. Otherwise it stops new submissions and cancels once the in-flight work resolves and pays out. Repeating the request is a no-op. A bounty that already paid out every slot returns `400`. - [Update Bounty](https://docs.whop.com/api-reference/bounties/update-bounty.md): Updates a bounty. A published bounty accepts title, description, and country targeting while it is still open with nothing under review. A scheduled (not-yet-published) draft additionally accepts the reward, winner slots, and schedule. #### Bounty Submissions - [Bounty Submission](https://docs.whop.com/api-reference/bounty-submissions/bounty-submission.md): A Bounty Submission is one worker's attempt on a bounty. It starts as an in-progress attempt, enters the review queue when proof is submitted, and ends approved (paid from the bounty's escrowed pool) or denied. - [List Bounty Submissions](https://docs.whop.com/api-reference/bounty-submissions/list-bounty-submissions.md): Lists bounty submissions visible to the credential — for a user token, the submissions they authored plus those on bounties they posted; for an account API key, the submissions on the account's bounties. For the anonymous view of one bounty's reviewed work, use the submissions list under the bounty… - [Retrieve Bounty Submission](https://docs.whop.com/api-reference/bounty-submissions/retrieve-bounty-submission.md): Retrieves one bounty submission the credential can see — one the caller authored, or one on a bounty they posted or their account owns. Reading another member's work on an account's bounty takes `account_id`, the same way the list does. - [Create Bounty Submission](https://docs.whop.com/api-reference/bounty-submissions/create-bounty-submission.md): Creates a submission on a workforce bounty. Include a `deliverable` and the submission goes straight to review; create is the only step. For `data_capture` bounties, omit the deliverable: this starts a claimed attempt whose proof accumulates server-side, and `POST /bounty_submissions/:id/submit` sen… - [Submit Bounty Submission](https://docs.whop.com/api-reference/bounty-submissions/submit-bounty-submission.md): Submits a claimed attempt for review. A livestream attempt needs an ended proof stream and can attach a `deliverable`; a data capture attempt instead needs enough validated clip time and takes no payload. Only the worker who started the attempt can submit it — account API keys cannot. - [Cancel Bounty Submission](https://docs.whop.com/api-reference/bounty-submissions/cancel-bounty-submission.md): Cancels the caller's own active attempt on a bounty and discards any accumulated capture clips. Only the worker who started the attempt can cancel it — account API keys cannot. ### Media #### Files - [File](https://docs.whop.com/api-reference/files/file.md): A File is an uploaded document or media object, identified by a `file_` ID. Creating a file returns a presigned destination; upload the bytes there and the file becomes `ready`. - [List Files](https://docs.whop.com/api-reference/files/list-files.md): Returns the files with the given IDs, newest first — fetch a batch in one request instead of retrieving each file individually. Only files you created are returned; IDs that do not exist, or that another credential created, are omitted. For a batch larger than one page, follow `page_info` with the s… - [Retrieve File](https://docs.whop.com/api-reference/files/retrieve-file.md): Retrieves a file you uploaded — poll it after uploading the bytes to see `upload_status` become `ready`. Only the creator can retrieve a file this way; a file attached to another resource is read through that resource. - [Create File](https://docs.whop.com/api-reference/files/create-file.md): Creates a file and returns a presigned destination to upload its bytes to. PUT the bytes to `upload_url` (single-part), or to each of `multipart_upload_urls` and then call Complete File Multipart Upload. Once the bytes land the file becomes `ready`, and its ID can be attached wherever a file is acce… - [Complete File Multipart Upload](https://docs.whop.com/api-reference/files/complete-file-multipart-upload.md): Assembles the parts of a multipart upload after every part has been PUT to its presigned URL. Pass the `multipart_upload_id` from Create File and each part's `ETag` response header. For a step-by-step walkthrough of multipart uploads, see the [direct file uploads guide](/developer/guides/direct-file… #### Media - [Media](https://docs.whop.com/api-reference/media/media.md): A Media Asset is an AI-generated image or video created from a prompt and billed from an account balance. When generation finishes, the asset includes a file that can be attached anywhere Whop accepts files. - [Retrieve Media Asset](https://docs.whop.com/api-reference/media/retrieve-media-asset.md): Retrieves a media asset by ID. Poll this while the asset is `processing`. - [Generate Media Asset](https://docs.whop.com/api-reference/media/generate-media-asset.md): Starts an AI media generation job billed from the account's balance. Generation is asynchronous — poll `GET /media/{id}` until the asset is `ready`, then use `file.id` anywhere attachments are accepted. ### Developer #### API Keys - [API Key](https://docs.whop.com/api-reference/api-keys/api-key.md): An API Key is a programmatic credential owned by an account or app. Each key carries its own permissions policy — explicit permission statements or an inherited system role — and can be restricted with an expiration date and an IP allowlist. - [List API Keys](https://docs.whop.com/api-reference/api-keys/list-api-keys.md): Lists the API keys of an account, app, or your own user, newest first. Responses never include the full secret — only its obfuscated form. - [Retrieve API Key](https://docs.whop.com/api-reference/api-keys/retrieve-api-key.md): Retrieves an API key with its effective permission grants. The full secret is never returned — rotate the key if it was lost. - [List the Permission Catalog](https://docs.whop.com/api-reference/api-keys/list-the-permission-catalog.md): Lists the catalog of permission actions that can be granted to users, apps, and API keys. Use it to choose the `permissions` for an API key or to build a permission picker. Small and returned in full on one page. - [Create API Key](https://docs.whop.com/api-reference/api-keys/create-api-key.md): Creates an API key for an account, an app, or your own user. A user API key acts as you and can only grant `ad_campaign:basic:read`, `ad_campaign:update`, `ad_pixel:manage`, `member:journey:read`. The response is the only place the full `secret_key` is returned — store it immediately. Requires a use… - [Rotate API Key](https://docs.whop.com/api-reference/api-keys/rotate-api-key.md): Rotates the API key's secret, invalidating the previous secret immediately. The response is the only place the new `secret_key` is returned. - [Update API Key](https://docs.whop.com/api-reference/api-keys/update-api-key.md): Updates an API key's name, permissions, API version, expiration, or IP allowlist. Fields that are omitted keep their current value; default keys cannot be modified. - [Delete API Key](https://docs.whop.com/api-reference/api-keys/delete-api-key.md): Permanently revokes an API key; requests using its secret stop authenticating immediately. Default and agent-backend keys cannot be deleted. #### Webhooks - [Webhook](https://docs.whop.com/api-reference/webhooks/webhook.md): A Webhook is an endpoint on your server that Whop sends signed HTTP POST requests to when events happen, such as a payment succeeding or a membership going active. A webhook is attached to an account or an app and subscribes to the events you choose. - [List Webhooks](https://docs.whop.com/api-reference/webhooks/list-webhooks.md): Returns a paginated list of webhook endpoints configured for an account, ordered by most recently created. - [Retrieve Webhook](https://docs.whop.com/api-reference/webhooks/retrieve-webhook.md): Retrieves the details of an existing webhook. - [List Deliveries](https://docs.whop.com/api-reference/webhooks/list-deliveries.md): Returns a paginated list of delivery attempts for a webhook, ordered by most recent first. Includes the request payload, response body, response code, and timing for each attempt. Filtered queries use a bounded read budget, so a page may be partial or empty. Continue with `page_info.end_cursor` whil… - [Create Webhook](https://docs.whop.com/api-reference/webhooks/create-webhook.md): Creates a webhook endpoint that receives event notifications via HTTP POST. - [Replay Delivery](https://docs.whop.com/api-reference/webhooks/replay-delivery.md): Re-sends the exact payload of a past delivery to the webhook's current URL and returns the delivery result. The replay keeps the original `webhook-id` unless you pass `regenerate_id`, so consumers that deduplicate on it can drop events they already processed. Only available for enabled webhooks on A… - [Replay Deliveries in a Range](https://docs.whop.com/api-reference/webhooks/replay-deliveries-in-a-range.md): Re-sends the webhook's past deliveries within a time window, optionally limited to specific events or to failed deliveries. Use it to recover events your endpoint missed. The replay runs asynchronously and nothing about it is stored: each re-send appears as a new entry in the webhook's delivery log.… - [Send Test Event](https://docs.whop.com/api-reference/webhooks/send-test-event.md): Sends a sample payload for the given event to the webhook's URL and returns the delivery result. - [Update Webhook](https://docs.whop.com/api-reference/webhooks/update-webhook.md): Updates a webhook endpoint's URL, subscribed events, pinned payload version, or enabled state. - [Delete Webhook](https://docs.whop.com/api-reference/webhooks/delete-webhook.md): Permanently deletes a webhook endpoint. To stop deliveries without deleting it, set `enabled` to `false` with `PATCH /webhooks/:id`. #### Permissions - [Permission](https://docs.whop.com/api-reference/permissions/permission.md): A Permission is one action, such as `stats:read`, paired with whether your credential is granted it on a given resource. It answers for whatever you authenticated with, so you can decide what to show or attempt instead of discovering a `403`. - [Check Permissions](https://docs.whop.com/api-reference/permissions/check-permissions.md): Lists permission actions and whether the calling credential is granted each one for a resource. Answers for whichever identity authenticated the request — a user session, an OAuth token, or an account or app API key — so it never describes who else can reach the resource. #### API Logs - [API Log](https://docs.whop.com/api-reference/api-logs/api-log.md): An Api Log is a record of a single request made to Whop's API using one of your account's API keys — the programmatic counterpart to the dashboard audit log, which only records actions taken by signed-in team members. Reads and failed requests are logged too. - [List API Logs](https://docs.whop.com/api-reference/api-logs/list-api-logs.md): Lists the requests served by Whop's API with the account's API keys, newest first — every surface (GraphQL, REST, and native /api/v1), reads and failed requests included. #### Feedback - [Feedback](https://docs.whop.com/api-reference/feedback/feedback.md): A feedback submission sends an issue, confusing behavior, documentation gap, or unanswered question to Whop. It is recorded under the authenticated user, account, or app, with an optional account for context, and reviewed by Whop. - [Submit Feedback](https://docs.whop.com/api-reference/feedback/submit-feedback.md): Submits an issue or an unanswered question to Whop for review, recorded under the authenticated user, account, or app. Returns a receipt once the submission is accepted; processing is asynchronous and no reply is sent. ## OpenAPI Specs - [api-v1-native](/openapi/api-v1-native.json)