Skip to content
Start free in Cloud

Send test email REST API

POST
/api/admin/system/mail/test
curl --request POST \
--url http://127.0.0.1:25737/api/admin/system/mail/test \
--header 'Content-Type: application/json' \
--cookie hk_token=<hk_token> \
--data '{ "email": "hello@example.com" }'

Sends a real test email to the specified recipient using the configured mail transport. Writes an instance audit log entry with the actor and outcome.

Media typeapplication/json
object
email
string format: email
Examplegenerated
{
"email": "hello@example.com"
}

Mail test result

Media typeapplication/json
object
message
string
status
string
Examplegenerated
{
"message": "example",
"status": "example"
}

Invalid recipient

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}

Mailer not configured

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}