Company -- Get License Pools

Gets the licenses of the whole company in one call: for the talk, sell and contact-center line types, how many licenses the company has purchased and how many are not assigned yet,
summed over all of its active offices, plus the billing state of its plans. Use
office_plan.get and available_licenses.list for the licenses of a single office.

Needs the onboarding:read scope. Only a company admin, the admin of a company's only office,
or a company-level credential can read it. A credential that is valid but may not read the company's licenses, or a key without the scope, gets a 403. A company that uses stored plan usage is read in a constant number of datastore calls. Any other company has its usage calculated for every active office, which is only done for companies with at most 25 offices: a larger one gets a 422 whose error reason is licensePoolsCapacityExceeded, and its offices can be read one by one with office_plan.get and available_licenses.list.

This call reads every active office of the company, so it is limited to 10 requests a minute. An unexpected server error answers 503: the shared API layer reports a 500 as a 503 and does not send a Retry-After header yet.

Requires scope: onboarding:read

Rate limit: 10 per minute.

Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json