Lists memberships
Required permissions:
member:basic:readThe app API key from an app from the /dashboard/developer page
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
42
Returns the last n elements from the list.
42
The ID of the company to list memberships for
"biz_xxxxxxxxxxxxxx"
The direction to sort the memberships by
asc, desc The order to sort the memberships by
id, created_at, status, canceled_at, date_joined, total_spend The product IDs to filter the memberships by
Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.
The membership status to filter the memberships by
The status of a membership
trialing, active, past_due, completed, canceled, expired, unresolved, drafted The cancel options to filter the memberships by
The different reasons a user can choose for why they are canceling their membership.
too_expensive, switching, missing_features, technical_issues, bad_experience, other, testing The plan IDs to filter the memberships by
Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.
Only return memberships from these whop user ids
Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.
The promo code IDs to filter the memberships by
Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.
The maximum creation date to filter by
"2023-12-01T05:00:00.401Z"
The minimum creation date to filter by
"2023-12-01T05:00:00.401Z"