Add target users 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/search200
OK
POST /api/target-users
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
emailstring · min: 1 · max: 320Required
firstNamestring · max: 256 · nullableOptional
lastNamestring · max: 256 · nullableOptional
departmentstring · max: 256 · nullableOptional
prioritystringOptional
isActivebooleanOptional
phoneNumberstring · min: 1Required
targetGroupResourceIdsstring[] · nullableOptional
timeZoneIdstring · nullableOptional
preferredLanguageIdstring · nullableOptional
managerFirstNamestring · max: 256 · nullableOptional
managerLastNamestring · max: 256 · nullableOptional
managerEmailstring · max: 320 · nullableOptional
Responses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post
/api/target-users200
OK
Common errors
Last updated