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 URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/memberships/invite
- Auth: HTTP bearer
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"plan_id": "plan_xxxxxxxxxxxxxx",
"user_id": "user_xxxxxxxxxxxxxx",
"email": "marcus@shinetime.example"
}Response
invitation accepted for delivery
Example response
{
"invitation_sent": true
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info