Products
List Products
Returns a collection of Products, based on the supplied filters.
GET
/
v2
/
products
Header
Query
curl --request GET \
--url https://api.whop.com/api/v2/products
{
"data": [
{
"created_at": 123,
"experiences": [],
"id": "<string>",
"name": "<string>",
"plans": [],
"visibility": "visible"
}
],
"pagination": {
"current_page": 123,
"total_count": 123,
"total_page": 123
}
}
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: 1The page number to retrieve
per
integer
default: 10The number of resources to return per page. There is a limit of 50 results per page.
visibility
enum<string>
The visibility of the Product
Available options:
visible
, hidden
, archived
, quick_link
expand
enum<string>[]
Whether or not to expand the Experiences and Plans on the returned Product(s). Pass an array with each object(s) you want to expand, e.g. [experiences, plans]
Available options:
experiences
, plans
Response
200 - application/json
data
object[]
pagination
object
Pagination model
Was this page helpful?
curl --request GET \
--url https://api.whop.com/api/v2/products
{
"data": [
{
"created_at": 123,
"experiences": [],
"id": "<string>",
"name": "<string>",
"plans": [],
"visibility": "visible"
}
],
"pagination": {
"current_page": 123,
"total_count": 123,
"total_page": 123
}
}