GET
/
v2
/
plans
curl --request GET \
  --url https://api.whop.com/api/v2/plans
{
  "pagination": {
    "current_page": 123,
    "total_page": 123,
    "total_count": 123
  },
  "data": [
    {
      "id": "<string>",
      "product": "<string>",
      "plan_type": "<string>",
      "release_method": "<string>",
      "visibility": "visible",
      "billing_period": 123,
      "internal_notes": "<string>",
      "metadata": {},
      "direct_link": "<string>",
      "renewal_price": 123,
      "initial_price": 123,
      "base_currency": "<string>",
      "requirements": {},
      "release_method_settings": {},
      "accepted_payment_methods": [
        [
          "<any>"
        ]
      ],
      "stock": 123,
      "unlimited_stock": true,
      "created_at": 123,
      "access_pass": "<string>",
      "card_payments": true
    }
  ]
}

Headers

Authorization
string

Your API key, which can be found on the Whop Business Dashboard. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************

Query Parameters

page
integer
default: 1

The page number to retrieve

per
integer
default: 10

The number of resources to return per page. There is a limit of 50 results per page.

visibility
enum<string>

The level of visibility of the Plan

Available options:
visible,
hidden,
archived,
quick_link
access_pass_id
string

Access Pass has been deprecated for Product. Please use product instead and do not use access_pass.

product_id
string

The Plan's Product ID, which will look like prod_************* or pass_*************

expand
enum<string>[]

Whether or not to expand the Product on the returned Plan(s). Pass an array with each object(s) you want to expand, e.g. [product]

Available options:
product

Response

200 - application/json
pagination
object

Pagination model

data
object[]