API Documentation
- Introduction
- Authentication
- Authorization
- Simulations
Endpoints
- SMTP Profiles
- Targets
- Groups
- Pages
- Templates
- Attachments
- Campaigns
SMTP Profiles
Send Test Email
Sends a test email to verify email functionality
POST
/
profiles
/
sendTestEmail
Copy
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>"
}'
Copy
[
{
"name": "<string>",
"method": "<string>",
"fromAddress": "<string>",
"mailServer": "<string>",
"mailServerPort": 123,
"customPort": false,
"useSSLTLS": false,
"lastUpdatedBy": "<string>",
"lastModified": "<string>"
}
]
Authorizations
Body
application/json
Sent Test Email
The body is of type object
.
Response
200
application/json
Email sent
The response is of type object[]
.
Copy
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>"
}'
Copy
[
{
"name": "<string>",
"method": "<string>",
"fromAddress": "<string>",
"mailServer": "<string>",
"mailServerPort": 123,
"customPort": false,
"useSSLTLS": false,
"lastUpdatedBy": "<string>",
"lastModified": "<string>"
}
]
Assistant
Responses are generated using AI and may contain mistakes.