POST
/
profiles
curl --request POST \
  --url http://base.url.com/profiles \
  --header 'Content-Type: application/json' \
  --header 'x-phishy-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "username": "<string>",
  "password": "<string>",
  "host": "<string>",
  "port": 123,
  "interface_type": "SMTP",
  "from_address": "<string>",
  "ignore_cert_errors": true,
  "is_secure": false
}'
[
  {
    "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

Profile to add

The body is of type object.

Response

200
application/json

Profile created

The response is of type object[].