Create a REST API client for a customer
POST /api/companies/search
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Body
pageNumberintegerRequiredExample:
1pageSizeintegerRequiredExample:
10orderBystringRequiredExample:
CreateTimeascendingbooleanRequiredExample:
falseisTargetUserCountExceededLimitbooleanOptionalExample:
If true, only companies exceeding license limit are returned
falseResponses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post/api/companies/search
200
OK
GET /api/roles
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Responses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
get/api/roles
200
OK
GET /api/companies/clients/generate-client-credentials
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Responses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
get/api/companies/clients/generate-client-credentials
200
OK
POST /api/companies/clients
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Body
namestring · min: 1 · max: 64Required
clientIdstring · min: 1 · max: 32Required
clientSecretstring · min: 1 · max: 100Required
statusIdinteger · int32Required
hasIpAddressRestrictionbooleanOptional
allowedIpAddressesstring[] · nullableOptional
roleResourceIdListstring[] · nullableOptional
Responses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post/api/companies/clients
200
OK
List, update, or delete clients (optional)
POST /api/companies/clients/search
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Body
pageNumberinteger · int32Optional
pageSizeinteger · int32Optional
orderBystring · nullableOptional
ascendingbooleanOptional
Responses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post/api/companies/clients/search
200
OK
Other client endpoints
Verification note
Common errors
Last updated