List customers exceeding license limit

As a Reseller you list or export companies that currently exceed their license limit (more users than the licensed maximum) for billing review, true-up, or compliance. Use a credential with Client Role = Reseller. Send isTargetUserCountExceededLimit: true in the request body so only overage customers are returned.


POST /api/companies/search

Returns a paginated list of companies that exceed their license limit. Include isTargetUserCountExceededLimit: true in the request body. Use pageNumber, pageSize, orderBy (e.g. CreateTime), and ascending as needed. Request body: see Endpoints → Company → Company search; add isTargetUserCountExceededLimit: true.

Retrieves a list of companies. For billing overage, set isTargetUserCountExceededLimit: true so only companies over their license limit are returned.

Retrieves a list of all companies

post
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
  • : API
Authorizations
OAuth2clientCredentialsRequired

Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.

Token URL:
Body
pageNumberintegerRequiredExample: 1
pageSizeintegerRequiredExample: 10
orderBystringRequiredExample: CreateTime
ascendingbooleanRequiredExample: false
isTargetUserCountExceededLimitbooleanOptional

If true, only companies exceeding license limit are returned

Example: false
Responses
chevron-right
200

OK

application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post
/api/companies/search
200

OK


POST /api/companies/search/export

Exports the same overage list to CSV or Excel. Include isTargetUserCountExceededLimit: true in the request body. Use exportType: "Csv" or "Excel". Request body: see Endpoints → Company → Company search export.

Exports the list of companies to CSV or Excel. Set isTargetUserCountExceededLimit: true to export only customers exceeding their license limit.

Exports the list of companies

post
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
  • : API
Authorizations
OAuth2clientCredentialsRequired

Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.

Token URL:
Body
pageNumberintegerRequiredExample: 1
pageSizeintegerRequiredExample: 10
orderBystringRequiredExample: CreateTime
ascendingbooleanRequiredExample: false
isClusteredbooleanOptionalExample: false
isTargetUserCountExceededLimitbooleanOptional

If true, export only companies exceeding license limit

Example: false
reportAllPagesbooleanOptionalExample: false
exportTypestringRequiredExample: CSV
Responses
chevron-right
200

OK

No content

post
/api/companies/search/export
200

OK

No content


Common errors

  • 403 Forbidden — Credential is not Reseller. Set Client Role = Reseller in Company → Company Settings → REST API. Roles and permissions →

  • 401 Unauthorized — Missing or invalid token. Request a new token via POST /connect/token.

  • 400 Bad Request — Invalid request body. Include pageNumber, pageSize, orderBy, ascending, and isTargetUserCountExceededLimit: true; use filter: null if you do not need date or other filters.

circle-info

Platform UI: In Company → Companies, use the FILTER EXCEEDING LIMIT toggle to see the same overage list. Companies →

Related: Export customer list for billing →. List companies with license details →. Scope API requests to a customer →.

Last updated