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

The response is of type object.