List or export 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/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
newVersionbooleanOptional
Responses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post
/api/target-users/search200
OK
POST /api/target-users/search/export
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
reportAllPagesbooleanOptional
exportTypestringOptional
phishingTypeIdinteger · int32Optional
tempalateTypestringOptional
templateTypesstring[] · nullableOptional
activityTypestringOptional
Responses
200
OK
No content
post
/api/target-users/search/export200
OK
No content
GET /api/target-users/count-summary
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
dataany · nullableOptional
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
get
/api/target-users/count-summary200
OK
Common errors
PreviousImport target users from Excel for a customerNextList and create target groups for a customer
Last updated