cURL
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 }
Returns a membership
User OAuth token for /v5/me endpoints
The ID of the Membership, which will look like mem_*************. This can also be the license key
membership found
The response is of type object.
object
Was this page helpful?