Create and start phishing campaign 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
GET /api/phishing-simulator/phishing-campaign/form-details
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/phishing-simulator/phishing-campaign/form-details200
OK
POST /api/phishing-simulator/phishing-campaign
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
namestringRequiredExample:
Q1 Phishing SimulationscheduleTypeIdintegerRequiredExample:
1phishingScenarioResourceIdsstring[]Optional
targetGroupResourceIdsstring[]Optional
durationintegerOptionalExample:
7distributionTypeIdintegerOptionalExample:
1distributionDelayEveryintegerOptionalExample:
0distributionDelayTimeTypeIdintegerOptionalExample:
1sendingLimitintegerOptionalExample:
0emailDeliverySettingTypeintegerOptionalExample:
1excludeFromReportsbooleanOptionalExample:
falsesendOnlyActiveUsersbooleanOptionalExample:
trueResponses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post
/api/phishing-simulator/phishing-campaign200
OK
POST /api/phishing-simulator/phishing-campaign-job/start/{resourceId}
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.
Path parameters
resourceIdstringRequired
Body
scheduleTypeIdintegerOptionalExample:
1targetGroupResourceIdsstring[]Optional
excludeFromReportsbooleanOptionalExample:
falsesendingLimitintegerOptionalExample:
0distributionDelayEveryintegerOptionalExample:
0distributionDelayTimeTypeIdintegerOptionalExample:
1useTargetUserTimeZonebooleanOptionalExample:
falseResponses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post
/api/phishing-simulator/phishing-campaign-job/start/{resourceId}200
OK
Common errors
Last updated