Create a phishing email template

Creates a new phishing email template from the supplied HTML body and metadata. Rejects names already used by a custom template or a platform library template — to customise a platform template use update-phishing-email, or copy it under a new name with duplicate-phishing-email.

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

HTML body.

targetReqs
array of strings

Target data fields this template requires, using the console's internal codes: preEmail=Email Address, preFName=First Name, preLName=Last Name, preCompany=Company, preJTitle=Job Title, preSupervisor=Supervisor Email, preCountry=Country, prePhone=Phone Number. Returned back (as a boolean object keyed by the plain field names) in getPhishingEmail's RequiredInfo.

targetReqs
files
array of objects

File attachments / resources. Each entry pairs a fileType with a fileStorage URL. These are the same key names getPhishingEmail returns in EmailFiles[], so a GET response's EmailFiles array can be posted back here unchanged.

files
string
enum

Difficulty level. Matches the console model and getPhishingEmail's Difficulty response field.

Allowed:
string

Phishing website template name.

string

Sender profile (Email Sender ID) name.

string

"Global" or a region code.

string
enum
Allowed:
tags
array of strings
tags
Responses

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