For the complete documentation index, see llms.txt. This page is also available as Markdown.

List companies with license details

As a Reseller you can retrieve all companies you manage with license information: License Type, Target Users, Monthly Users, License Limit, Renewal Date. Use this list to get Company IDs for scoped API calls and for export to CSV/Excel. Use a credential with Client Role = Reseller.


POST /api/companies/search

Retrieves a paginated, filterable, sortable list of all companies with license details. Test it: Authorize with Client ID/Secret, then Send — request body is pre-filled (pageNumber: 1, pageSize: 10, orderBy: CreateTime).

Retrieves a list of all companies

post
Required 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
200

OK

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

OK


POST /api/companies/search/export

Exports the same list to CSV or Excel for reporting or billing. Test it: Authorize with Client ID/Secret, then Send — request body is pre-filled (minimal pagination + exportType: Csv).

Request body: Send a non-empty body (e.g. pageNumber, pageSize, orderBy, ascending, filter, exportType). Empty body can cause errors in automation tools. Use the schema example below.

Exports the list of companies

post
Required 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
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.

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

  • 400 Bad Request — Invalid request body (e.g. missing orderBy). Include pageNumber, pageSize, orderBy, ascending, filter.

Platform UI: View and manage companies in Company → Companies. For billing export, see Export customer list for billing →. Companies →

Last updated