Retrieve Membership
Changed onRetrieves a membership by ID or license key. Accessible to the account and to the membership's own user.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/memberships/{id}
- Auth: HTTP bearer
Response
membership retrieved with its recorded phone number
Example response
{
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"route": "shine-time-auto-detailing",
"title": "Shine Time Auto Detailing"
},
"affiliate": {
"applies_to_payments": "first_payment",
"commission_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"commission_type": "flat_fee"
},
"billing_period_days": 30,
"cancel_at_period_end": true,
"cancel_option": "too_expensive",
"canceled_at": "2026-01-01T12:00:00.000Z",
"cancellation_reason": "Too expensive",
"collection_method": "send_invoice",
"created_at": "2026-01-01T12:00:00.000Z",
"current_period_end": "2026-01-01T12:00:00.000Z",
"current_period_start": "2026-01-01T12:00:00.000Z",
"expires_at": "2026-01-01T12:00:00.000Z",
"feedback_option": {
"label": "The wash club costs more than I can spend"
},
"id": "mem_xxxxxxxxxxxxxx",
"initial_price": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"license_key": "WHOP-XXXX-XXXX-XXXX",
"manage_url": "https://whop.com/billing/manage/mber_xxxxxxxxxxxxxx",
"member": {
"access_level": "customer",
"last_accessed_at": "2026-01-01T12:00:00.000Z",
"position": 1767268800000
},
"member_id": "mber_xxxxxxxxxxxxxx",
"metadata": {},
"most_recent_action": "renewing_on",
"most_recent_action_at": "2026-01-01T12:00:00.000Z",
"phone_number": "+xxxxxxxxxxx",
"plan_id": "plan_xxxxxxxxxxxxxx",
"product": {
"id": "prod_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"title": "Ceramic Coating Package"
},
"product_id": "prod_xxxxxxxxxxxxxx",
"promo_code_id": "promo_xxxxxxxxxxxxxx",
"renewal_price": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"status": "active",
"updated_at": "2026-01-01T12:00:00.000Z",
"user_id": "user_xxxxxxxxxxxxxx"
}Changes
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
added the required property
to the response with the status
- info