Skip to main content
POST
Create campaign

Authorizations

Admin cookie authentication (configurable in config.json)

Body

application/json
campaign_name
string

Campaign name

mail_data
string

Raw email message

supplied_mail_server
string

Mail server hostname

supplied_smtp_from
string

SMTP from address

Phishing link URL

supplied_id_param
string

Tracking parameter name

supplied_delay
string
default:30

Delay between emails in seconds

secure_mail
boolean
default:false

Use TLS

supplied_username
string

SMTP username

supplied_password
string

SMTP password

dkim
boolean
default:false

DKIM sign messages

market_id
number
default:0

Phishmarket template ID

Response

Campaign saved successfully

The response is of type string.

Example:

"Saved Campaign"