---
title: "Create Member"
method: POST
path: "/members"
tags: ["Members"]
---

# Create Member

`POST /members`

## Request

- Base URL: `https://api.whop.com/api/v1`
- URL: `https://api.whop.com/api/v1/members`
- Auth: HTTP bearer

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

## Headers

- `Api-Version-Date` string
- `Idempotency-Key` string

## Request body

- object
  - `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.

## Response `201`

member created for an email with no Whop user

- Member
  - `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
    - `last_24_hours` string, required: Gross income in USD over the last 24 hours.
    - `last_30_days` string, required: Gross income in USD over the last 30 days.
    - `last_7_days` string, required: Gross income in USD over the last 7 days.
    - `lifetime` string, required: All-time gross income in USD.
  - `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
    - `author` UserSummary, nullable, required
      - `badges` UserBadge[], required
        - `type` 'whop_team' | 'verified_partner', required: Badge category. `whop_team` identifies a Whop team member. `verified_partner` identifies a verified member of the Whop Partners program.
      - `id` string, required: User ID, prefixed `user_`.
      - `name` string, nullable, required: Display name.
      - `profile_picture` UserProfilePicture, required: Avatar wrapper. Its `url` is always present, and is a generated placeholder when the user set no picture.
        - `url` string, required: Avatar image URL. Always present. It is a generated placeholder when the user set no picture.
      - `username` string, required: Public username.
    - `channel_id` string, required: The support chat the message was sent in.
    - `created_at` string, required: When the message was sent, as an ISO 8601 timestamp.
    - `id` string, required: The message ID.
    - `plain_content` string, nullable, required: The message text without formatting. `null` when the message has no text, such as an attachment on its own.
    - `type` 'message', required: Always `message`.
  - `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.
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `user` MemberUser, nullable, required
    - `badges` UserBadge[], required
      - `type` 'whop_team' | 'verified_partner', required: Badge category. `whop_team` identifies a Whop team member. `verified_partner` identifies a verified member of the Whop Partners program.
    - `city` string, nullable, required: The user's city, derived from their IP address. `null` when unknown or the user turned off location sharing.
    - `country` string, nullable, required: The user's country as an ISO 3166-1 alpha-2 code, like `US`, derived from their IP address. `null` when unknown or the user turned off location sharing.
    - `id` string, required: User ID, prefixed `user_`.
    - `name` string, nullable, required: Display name.
    - `profile_picture` UserProfilePicture, required: Avatar wrapper. Its `url` is always present, and is a generated placeholder when the user set no picture.
      - `url` string, required: Avatar image URL. Always present. It is a generated placeholder when the user set no picture.
    - `state` string, nullable, required: The user's state or region code, like `CA`, derived from their IP address. `null` when unknown or the user turned off location sharing.
    - `username` string, required: Public username.

## Other responses

- `400`: Invalid Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `409`: Conflict

## Changes

- **2026-11-23** `9f93639bd17e`: 2 info
  - added the required property `last_activity/oneOf[#/components/schemas/MemberLastActivityMessage]/author/oneOf[#/components/schemas/UserSummary]/badges` to the response with the `201` status
  - added the required property `user/oneOf[#/components/schemas/MemberUser]/badges` to the response with the `201` status
- **2026-11-21** `968f4fc221c1`: 1 breaking, 1 info
  - added `#/components/schemas/MemberLastActivityMessage` to the `last_activity` response property `oneOf` list for the response status `201`
  - removed `#/components/schemas/MemberLastActivity` from the `last_activity` response property `oneOf` list for the response status `201`
- **2026-11-18** `5cb00af3268a`: 1 info
  - added the required property `buyer_account_id` to the response with the `201` status
- **2026-11-13** `e1d656bdf8ca`: 1 info
  - added the required property `metadata` to the response with the `201` status
- **2026-11-13** `eceeb8169cac`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/whop/apis/whop-api/changes/members/post.md)

---

[API](https://skmtc.dev/whop/apis/whop-api.md) - [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whop/apis/whop-api/revisions/b10d1ab093e8?raw)
