Whop

Whop

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Whop to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Connect your Whop company to sync payments, memberships, members, products, promo codes, invoices, refunds, and disputes into PostHog. Create a company API key in the Developer tab of your Whop dashboard.

Configuration

OptionDescription
API key
Type: password
Required: True

Create a company API key in the Developer tab of your Whop dashboard. Grant it read access to the resources you want to sync: company:basic:read, member:basic:read, payment:basic:read, access_pass:basic:read, plan:basic:read, promo_code:basic:read and invoice:basic:read, plus developer:manage_webhook if you want PostHog to register the webhook for you.

Company ID
Type: text
Required: True

The ID of the Whop company to sync, shown in your Whop dashboard URL.

Linking Whop to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Whop
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
memberships

A membership represents an active relationship between a user and a product. It tracks the user's access, billing status, and renewal schedule.

Webhook, Incremental, Full refreshcreated_at
payments

A payment represents a completed or attempted charge. Payments track the amount, status, currency, and payment method used.

Webhook, Incremental, Full refreshcreated_at
members

A member represents a user's relationship with a company on Whop, including their access level, status, and spending history.

Webhook, Incremental, Full refreshcreated_at
products

A product is a digital good or service sold on Whop. Products contain plans for pricing and experiences for content delivery.

Webhook, Incremental, Full refreshcreated_at
entries

An entry represents a user's signup for a waitlisted plan.

Webhook, Incremental, Full refreshcreated_at
invoices

An invoice represents an itemized bill sent by a company to a customer for a specific product and plan, tracking the amount owed, due date, and payment status.

Webhook, Incremental, Full refreshcreated_at
refunds

A refund represents a full or partial reversal of a payment, including the amount, status, and payment provider.

Webhook, Incremental, Full refreshcreated_at
disputes

A dispute is a chargeback or payment challenge filed against a company, including evidence and response status.

Webhook, Incremental, Full refreshcreated_at
dispute_alerts

A dispute alert represents an early warning notification from a payment processor about a potential dispute or chargeback.

Webhook, Incremental, Full refreshcreated_at
setup_intents

A setup intent allows a user to save a payment method for future use without making an immediate purchase.

Webhook, Incremental, Full refreshcreated_at
promo_codes

A promo code applies a discount to a plan during checkout. Promo codes can be percentage-based or fixed-amount, and can have usage limits and expiration dates.

Incremental, Full refreshcreated_at
leads

A prospective customer who has expressed interest in a company or product but has not yet purchased.

Incremental, Full refreshcreated_at
experiences

An experience is a feature or content module within a product, such as a chat, course, or custom app.

Incremental, Full refreshcreated_at
checkout_configurations

A checkout configuration is a reusable configuration for a checkout, including the plan, affiliate, and custom metadata. Payments and memberships created from a checkout session inherit its metadata.

Full refresh
affiliates

An affiliate tracks a user's referral performance and commission earnings for a company, including retention rates, revenue metrics, and payout configurations.

Full refresh
shipments

A physical shipment associated with a payment, including carrier details and tracking information.

Webhook, Full refresh
company_token_transactions

A token transaction records a credit or debit to a member's token balance within a company, including transfers between members.

Full refresh