Skip to Content
Billing

Get the Subscription

GET
/accounts/{account_id}/subscription

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Path Parameters

account_id*string

Response Body

OK

application/json
  1. response
plan*PlanId

partner: partner Networks only; not listed in /plans and not for sale

Value in"free""unlimited""unlimited_1tb""unlimited_5tb""partner"
interval?|
Value in"month""year"null
status*string

partner: billed by the Partner that created the Network

Value in"free""active""past_due""canceled""partner"
current_period_start?|
Formatdate-time
current_period_end?|
Formatdate-time
cancel_at_period_end?boolean
Example Request
curl -X GET 'https://tiltas.openpanel.sh/api/v1/accounts/string/subscription'
Example Response200
{  "plan": "free",  "interval": "month",  "status": "free",  "current_period_start": "2019-08-24T14:15:22Z",  "current_period_end": "2019-08-24T14:15:22Z",  "cancel_at_period_end": true}