GET
/
billing
/
subscription
/
license
/
{licenseId}
curl --request GET \
  --url https://app.teable.cn/api/billing/subscription/license/%7BlicenseId%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "id": "<string>",
  "instanceId": "<string>",
  "currentPeriodStart": "<string>",
  "currentPeriodEnd": "<string>",
  "quantity": 123,
  "unitAmount": 123,
  "licenseKey": "<string>",
  "interval": "month",
  "level": "free"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

licenseId
string
required

Response

200 - application/json
Returns license details for the self-hosted related subscription
id
string
required
instanceId
string
required
currentPeriodStart
string
required
currentPeriodEnd
string
required
quantity
number
required
unitAmount
number
required
licenseKey
string
required
interval
enum<string>
required
Available options:
month,
year
level
enum<string>
required
Available options:
free,
plus,
pro,
enterprise