Memberships
Invite to a Membership
Changed onEmails one recipient an invitation to a free variant's membership. The invitation is bound to that recipient; after signing in, accepting it immediately grants the membership without checkout. This Experimental endpoint is available only to accounts enabled for membership invitations.
post/memberships/invite
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP 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
union required
object required
OR
object required
Example request
{
"user_id": "user_xxxxxxxxxxxxxx",
"variant_id": "plan_xxxxxxxxxxxxxx",
"email": "marcus@shinetime.example"
}Response
invitation accepted for delivery
object required
invitation_sent, boolean required
Example response
{
"invitation_sent": true
}Changes
- breaking
added the new required request property
oneOf[subschema #1: InviteMembershipByUser]/variant_id - breaking
added the new required request property
oneOf[subschema #2: InviteMembershipByEmail]/variant_id - breaking
added the new required request property
variant_id
3 more changes in this revision
- breaking