POST
/
profiles
/
sendTestEmail
curl --request POST \
  --url http://base.url.com/profiles/sendTestEmail \
  --header 'Content-Type: application/json' \
  --header 'x-phishy-api-key: <api-key>' \
  --data '{
  "host": "<string>",
  "port": 123,
  "is_secure": false,
  "ignore_cert_errors": false,
  "username": "<string>",
  "password": "<string>",
  "from_address": "<string>",
  "email": "[email protected]",
  "first_name": "<string>",
  "last_name": "<string>",
  "position": "<string>"
}'
[
  {
    "name": "<string>",
    "method": "<string>",
    "fromAddress": "<string>",
    "mailServer": "<string>",
    "mailServerPort": 123,
    "customPort": false,
    "useSSLTLS": false,
    "lastUpdatedBy": "<string>",
    "lastModified": "<string>"
  }
]

Authorizations

x-phishy-api-key
string
header
required

Body

application/json

Sent Test Email

The body is of type object.

Response

200
application/json

Email sent

The response is of type object[].