GET
/
license-stats
curl --request GET \
  --url https://codecombat.com/api/license-stats \
  --header 'Authorization: Basic <encoded-value>'
{
  "licenseDaysGranted": 123,
  "licenseDaysUsed": 123,
  "licenseDaysRemaining": 123,
  "activeLicenses": 123
}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json
licenseDaysGranted
number | null

Total number of license days granted

licenseDaysUsed
number | null

Number of license days used

licenseDaysRemaining
number | null

Number of license days remaining

activeLicenses
number | null

Number of active/valid licenses