GET
/
billing
/
subscription
curl --request GET \
  --url https://enterprise-api.writer.com/billing/subscription \
  --header 'Authorization: <authorization>'
{
  "subscriptionId": "<string>",
  "meta": {
    "teamCount": 123,
    "termsCount": 123,
    "snippetsCount": 123,
    "ssoAccess": true,
    "reporting": {},
    "portal": {},
    "styleguide": {},
    "tier": "enterprise-1"
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "seats": 123,
  "productName": "free",
  "status": "trialing",
  "usage": {
    "team": {
      "value": 123,
      "limit": 123
    },
    "user": {
      "value": 123,
      "limit": 123
    },
    "words": {
      "value": 123,
      "limit": 123
    },
    "coWriteWords": {
      "value": 123,
      "limit": 123
    }
  }
}

We’re deprecating these API endpoints, so the AI Studio API key setup won’t work. [Contact support] (https://support.writer.com/) if you need them.

Headers

Authorization
string
required

Response

200 - application/json
subscriptionId
string
required
meta
object
required
createdAt
string
required
seats
integer
required
productName
enum<string>
required
Available options:
free,
pro,
team,
enterprise,
legacy
status
enum<string>
required
Available options:
trialing,
active,
past_due,
incomplete,
incomplete_expired,
unpaid,
canceled
usage
object
required