Get your organization subscription details
curl --request GET \
--url https://enterprise-api.writer.com/billing/subscription \
--header 'Authorization: <authorization>'import requests
url = "https://enterprise-api.writer.com/billing/subscription"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://enterprise-api.writer.com/billing/subscription', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"subscriptionId": "<string>",
"meta": {
"teamCount": 123,
"termsCount": 123,
"snippetsCount": 123,
"ssoAccess": true,
"reporting": {},
"portal": {},
"styleguide": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"seats": 123,
"usage": {
"team": {
"value": 123,
"limit": 123
},
"user": {
"value": 123,
"limit": 123
},
"words": {
"value": 123,
"limit": 123
},
"coWriteWords": {
"value": 123,
"limit": 123
}
}
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}Billing
Get your organization subscription details
GET
/
billing
/
subscription
Get your organization subscription details
curl --request GET \
--url https://enterprise-api.writer.com/billing/subscription \
--header 'Authorization: <authorization>'import requests
url = "https://enterprise-api.writer.com/billing/subscription"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://enterprise-api.writer.com/billing/subscription', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"subscriptionId": "<string>",
"meta": {
"teamCount": 123,
"termsCount": 123,
"snippetsCount": 123,
"ssoAccess": true,
"reporting": {},
"portal": {},
"styleguide": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"seats": 123,
"usage": {
"team": {
"value": 123,
"limit": 123
},
"user": {
"value": 123,
"limit": 123
},
"words": {
"value": 123,
"limit": 123
},
"coWriteWords": {
"value": 123,
"limit": 123
}
}
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}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
Response
Show child attributes
Show child attributes
Available options:
free, pro, team, enterprise, legacy Available options:
trialing, active, past_due, incomplete, incomplete_expired, unpaid, canceled Show child attributes
Show child attributes
Was this page helpful?
⌘I