POST
/
v5
/
app
/
memberships
/
{id}
/
add_free_days
curl --request POST \
  --url https://api.whop.com/api/v5/app/memberships/{id}/add_free_days \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "days": 123
}'
{}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the Membership, which will look like mem_*************. This can also be the license key

Body

application/json
days
number
required

The number of free days to add to the membership.

Response

200 - application/json

The response is of type object.