v0.1 preview · full SDK parity

Drive Whop
from the terminal.

Every resource in the Whop API behind one binary. For creators who script, developers who automate, and the agents coming next.

$ npm i -g @whop/cli
whop ▸ payments
$ whop payments list --limit 5
ID STATUS TOTAL USER CREATED
pay_2v9f1a ✓ paid $60.00 user_8h2k… 2d ago
pay_2v9d0c ✓ succeeded $24.99 user_7q1p… 3d ago
pay_2v95re • open $199.00 user_4mz3… Apr 27
pay_2v8x12 ✗ failed $15.00 user_9c8a… Apr 19
pay_2v7t9k ✓ paid $60.00 user_1de0… Sep 29, 2025
5 results · pagination available with --next
Built with care

The polish you don't usually get from generated tooling.

Every command was hand-tuned on top of the SDK-generated base. Output that reads, errors that point you somewhere useful, auth that respects your machine.

01

Output worth reading

Humanized dates, money formatted to the row's currency, color-coded status badges, bold-orange IDs that anchor every row. No JSON soup unless you ask.

02

OS keychain auth

API keys stored in the system keychain, never in plain text. Profile-per-company with masked previews, interactive picker, and a clean sandbox warning.

03

Scriptable by design

--field for raw values, --json for pipes, --next for cursor-free pagination. The CLI gets out of your way the moment you reach for a shell pipeline.

04

Errors with hints

Raw HTTP bodies parsed down to the inner message. Auth errors point at whop auth login. 404s point at --company-id. 429s tell you to wait.

Built-in tooling

Diagnose and verify, without leaving the shell.

whop doctor sweeps your environment in five steps. whop me confirms which company you're talking to. Both ship in the box.

whop ▸ doctor
$ whop doctor
Whop CLI preflight
Resolving environment, profiles, and connectivity…
Node version v22.5.1
Config file ~/.config/whop/config.json
Stored profiles 3 found · active: viral-ai
Active context biz_4hN2 · apik…SeSc
API connectivity api.whop.com · 142ms
All systems nominal.
whop ▸ me
$ whop me
whop Viral AI Tools
Company Viral AI Tools
Company ID biz_4hN2
API key apik…SeSc
Profile viral-ai (saved profile)
Environment production
Created Sep 29, 2025

Every Whop resource. One CLI.

Generated from the SDK with hand-curated polish on top. Catalog, payments, identity, content, messaging, ops. All accessible through whop <resource> <action>.

Catalog & Pricing

  • whop products
  • whop plans
  • whop promo-codes
  • whop apps
  • whop app-builds
  • whop checkout-configurations
  • whop fee-markups
  • whop companies

Payments & Billing

  • whop payments
  • whop payment-methods
  • whop refunds
  • whop invoices
  • whop setup-intents
  • whop topups
  • whop transfers
  • whop withdrawals
  • whop payout-accounts
  • whop payout-methods
  • whop ledger-accounts
  • whop company-token-transactions

Identity & Access

  • whop members
  • whop memberships
  • whop users
  • whop authorized-users
  • whop access-tokens
  • whop account-links
  • whop verifications

Content & Experiences

  • whop experiences
  • whop courses
  • whop courses chapters
  • whop courses lessons
  • whop courses lesson-interactions
  • whop courses students
  • whop forums
  • whop forums posts
  • whop files
  • whop reviews
  • whop reactions

Messaging & Support

  • whop messages
  • whop chat-channels
  • whop dm-channels
  • whop dm-members
  • whop support-channels
  • whop notifications
  • whop ai-chats

Ops & Growth

  • whop disputes
  • whop disputes alerts
  • whop resolution-center-cases
  • whop shipments
  • whop entries
  • whop leads
  • whop affiliates
  • whop affiliates overrides
  • whop webhooks
Get started

Three commands from zero to a live API call.

Install, log in, list your payments. Whichever resource you reach for next is one whop away.

01
$ npm i -g @whop/cli
02
$ whop auth login
03
$ whop payments list --limit 5