GET
/
v5
/
me
/
memberships
/
{id}
curl --request GET \
  --url https://{defaultHost}/v5/me/memberships/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "product_id": "<string>",
  "user_id": "<string>",
  "plan_id": "<string>",
  "page_id": "<string>",
  "created_at": 123,
  "expires_at": 123,
  "renewal_period_start": 123,
  "renewal_period_end": 123,
  "quantity": 123,
  "status": "trialing",
  "valid": true,
  "cancel_at_period_end": true,
  "license_key": "<string>",
  "metadata": {},
  "checkout_id": "<string>",
  "affiliate_username": "<string>",
  "manage_url": "<string>",
  "company_buyer_id": 123,
  "marketplace": true
}

Authorizations

Authorization
string
header
required

User OAuth token for /v5/me endpoints

Path Parameters

id
string
required

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

Response

200 - application/json
membership found

The response is of type object.