Members

Adds a person to an account as a member. If the person is already a member of the account, that member is returned unchanged.

post/members

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383

A unique key that makes this request safe to retry. See Idempotent requests.

Request body

object required
account_id, string

The account to add the member to (biz_ tag). Defaults to the account the credential acts as.

email, string email required

The email address of the person to add. If no Whop user has it, one is created.

name, string

The name of the person to add. Ignored when a user on Whop already exists for this email address.

Example request

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "email": "dana@shinetime.example",
  "name": "Dana Whitfield"
}

Response

member created for an email with no Whop user

Member required
access_level, 'no_access' | 'admin' | 'customer' required

What the member can reach on the account: customer for paying members, admin for team members, no_access once every grant has lapsed.

account_id, string required

The account this member belongs to, prefixed biz_.

buyer_account_id, string nullable required

The business that bought, prefixed biz_. null when the buyer is a person.

created_at, string required

When the member record was created, as an ISO 8601 timestamp.

display_name, string required

The name to show for this member: the user's name, or their username when they have not set one. The buying business's name when user is null.

earnings_usd, UserEarningsAmount nullable required
email, string nullable required

The user's email address. null without member:email:read on the account, when the buyer is another business, or when the user has no assigned email.

id, string required

Member ID, prefixed mber_.

joined_at, string required

When the member first joined the account, as an ISO 8601 timestamp.

last_accessed_at, string nullable required

When the member last opened the account's content, as an ISO 8601 timestamp. null if they never have.

last_activity, MemberLastActivityMessage nullable required
last_activity_at, string nullable required

When the member and the account last interacted, as an ISO 8601 timestamp. For example, a message in the member's support chat.

metadata, object nullable required

Your own key-value data stored on this member. null when none is set.

most_recent_action, 'canceling' | 'churned' | 'finished_split_pay' | 'paused' | 'paid_subscriber' | 'paid_once' | 'expiring' | 'joined' | 'left' | 'trialing' | 'pending_entry' | 'renewing' | 'past_due' | 'null' nullable required

The member's latest lifecycle state on the account, derived from their memberships, such as paid_subscriber, canceling, or churned. null until it is first computed.

most_recent_action_at, string nullable required

When most_recent_action took effect, as an ISO 8601 timestamp. null when most_recent_action is null.

name, string nullable required

The name the account gave this customer with PATCH /members/:id. Invoices show it as the customer name on every invoice for this member, in place of the user's own name. null when the account has not set one.

phone_number, string nullable required

The member's phone number: the most recent number collected (or verified) at checkout, otherwise their account number when they have shared one with this seller. null without member:phone:read on the account, or when there is neither.

status, 'joined' | 'left' required

joined while the member is part of the account, left after they leave.

token_balance, number required

The member's current token balance for this account, computed from token transactions.

unsubscribe_status, 'unsubscribed' | 'null' nullable required

unsubscribed once the member opts out of the account's marketing communications, null while they're subscribed. Only the member can change it.

usd_total_spent, Money required

How much the member has spent on the account's products, in USD.

user, MemberUser nullable required

Example response

{
  "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"
  }
}

Changes

    • info

      added the required property last_activity/oneOf[#/components/schemas/MemberLastActivityMessage]/author/oneOf[#/components/schemas/UserSummary]/badges to the response with the status

    • info

      added the required property user/oneOf[#/components/schemas/MemberUser]/badges to the response with the status

    • breaking

      added to the last_activity response property oneOf list for the response status

    1 more change in this revision