Skip to main content
GET
Get Subscription Status

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing, malformed, unknown, revoked, inactive or expired key returns 401; a key without the permission, scope or plan an operation needs returns 403.

Response

Successful Response

Current subscription status.

has_subscription
boolean
default:false
subscription_id
string | null
plan_slug
string | null
status
string | null
current_period_end
integer | null
cancel_at_period_end
boolean
default:false
discount_percent_off
number | null

Percent off the subscription from an applied promo code, e.g. 100 for a free month. Empty when no promo applies.

discount_amount_off_cents
integer | null

Fixed amount off the subscription from an applied promo code, in cents. Empty when no promo applies or it is a percent discount.

discount_ends_at
integer | null

When the promo stops applying, as a Unix timestamp in seconds. Empty when there is no promo or it does not expire.