list_memberships
Retrieve all memberships for your Whop company with filters for product, plan, user, status, and validity. Supports pagination.
Instructions
List all memberships for your Whop company with optional filters.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_memberships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | No | Filter by product ID. | |
| plan_id | No | Filter by plan ID. | |
| user_id | No | Filter by user ID. | |
| status | No | Filter by membership status. | |
| valid | No | Filter by validity (true = currently active). | |
| page | No | Page number. | |
| per | No | Items per page. |