List Members
Changed onLists the members of an account. A member is one buyer's relationship with the account, regardless of how many memberships they hold.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Query parameters
The account to list members for (biz_ tag). Defaults to the account the credential acts as.
Filter by what the member can reach on the account.
Filter by whether the member is still part of the account.
Only return members whose users match these user_ identifiers.
[ "user_xxxxxxxxxxxxxx" ]
Only return members whose most_recent_action is one of these values.
active returns members holding at least one membership that currently grants access; inactive returns members holding at least one membership that does not. Combined with product_ids, variant_ids, or promo_code_ids, one membership must match all of them.
Only return members holding a membership to one of these products, prefixed prod_. Unknown IDs match nothing.
[ "prod_xxxxxxxxxxxxx" ]
Only return members holding a membership on one of these variants, prefixed plan_. Unknown IDs match nothing.
[ "plan_xxxxxxxxxxxxx" ]
Only return members holding a membership bought with one of these promo codes, prefixed promo_. Unknown IDs match nothing.
[ "promo_xxxxxxxxxxxx" ]
Only return members this affiliate referred, prefixed aff_. Requires affiliate:basic:read and sorts by created_at only. Unknown IDs match nothing.
Only return members bought by these accounts, prefixed biz_. Unknown IDs match nothing.
[ "biz_xxxxxxxxxxxxxx" ]
JSON-encoded object of key and value pairs. Only returns members whose own metadata holds every pair with exactly that value, for example {"utm_source":"twitter"}. Takes up to 5 keys. Only the account's newest 50,000 members are searched, and a search that takes over 5 seconds returns a 400. Stored numbers and true or false values match their text. Nested query keys such as metadata[utm_source]=twitter also work.
Search members by name or username. An exact email address also matches when the credential holds the member:email:read scope.
Only members who joined after this ISO 8601 timestamp.
Only members who joined before this ISO 8601 timestamp.
Sort field. most_recent_action_at and last_activity_at place members without one first when ascending and last when descending. needs_reply lists customers awaiting a support reply first, ordered by their latest qualifying message. Other members follow in last-activity order. Direction applies within each group. Requires support_chat:read.
Sort direction.
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Number of results to return from the end of the range.
Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.
Set to true to return the number of matching results in page_info.total_count. Send first=0 as well to return the count without any results.
Headers
Pins the request to a dated API version.
Response
members listed
Example response
{
"data": [
{
"access_level": "customer",
"account_id": "biz_xxxxxxxxxxxxxx",
"buyer_account_id": "biz_xxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"display_name": "Dana Whitfield",
"earnings_usd": {
"last_24_hours": "0.00",
"last_30_days": "0.00",
"last_7_days": "0.00",
"lifetime": "0.00"
},
"email": "marcus@shinetime.example",
"id": "mber_xxxxxxxxxxxxxx",
"joined_at": "2026-01-01T12:00:00.000Z",
"last_accessed_at": "2026-01-01T12:00:00.000Z",
"last_activity": {
"author": {
"badges": [
{
"type": "verified_partner"
}
],
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
},
"type": "message"
},
"last_activity_at": "2026-01-01T12:00:00.000Z",
"most_recent_action": "paid_subscriber",
"most_recent_action_at": "2026-01-01T12:00:00.000Z",
"name": "Austin Fleet Care",
"phone_number": "+xxxxxxxxxxx",
"status": "joined",
"token_balance": 70.25,
"unsubscribe_status": "unsubscribed",
"usd_total_spent": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"user": {
"badges": [
{
"type": "verified_partner"
}
],
"city": "Austin",
"country": "US",
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"state": "TX",
"username": "danawhitfield"
}
}
],
"page_info": {
"start_cursor": "WyJjdXJzb3IiLDFd"
}
}Changes
- info
added the new optional
queryrequest parametermetadata
- info
- info
added the required property
data/items/last_activity/oneOf[#/components/schemas/MemberLastActivityMessage]/author/oneOf[#/components/schemas/UserSummary]/badgesto the response with the status - info
added the required property
data/items/user/oneOf[#/components/schemas/MemberUser]/badgesto the response with the status
- info