Create a training campaign

Creates a training-only campaign that assigns training modules to the targeted employees. Fails if a campaign with the same name already exists.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Optional future scheduling for a training-only campaign.

string
required
string
required

Unique campaign name. Sanitized server-side (apostrophes/periods/special chars become hyphens).

targetUsers
array of strings

Names of the employee lists to target.

targetUsers
boolean

Continuously sync employee lists into the campaign.

campaignTags
array of strings
campaignTags
trainingModules
array of strings

Training module names (train / phishTrain).

trainingModules
boolean

Enterprise only. When true, the AI Program Manager auto-selects training modules per employee at assignment time — omit trainingModules. A non-Enterprise tenant that sets this receives 403 ENTITLEMENT_REQUIRED.

string

Guidance (max 500 chars) steering per-employee auto-train module selection. Recommended to supply. If omitted, the platform applies the default: "Select whichever training modules are most contextually appropriate for each individual employee based on their role, prior training history, demonstrated skill level, and any recent phishing interactions."

string
enum

How often the training recurs. "once" = a single assignment.

Allowed:
integer
Defaults to 14
string
enum

"allTrainings" assigns every selected module; "randomTraining" lets CanIPhish intelligently assign a module per employee. (Any value other than "allTrainings" is treated as randomTraining.)

Allowed:
string

ISO culture or "dynamic".

string

Training expiry "MMM dd, yyyy" (capped at 4 years).

boolean

Schedule training to start at a future date/time (train type).

string

Training start date "MMM dd, yyyy" (when trainingSchedule is true).

string

Training start time "HH:mm".

string

IANA time zone for scheduled training.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json