Send a test email
Sends a single email with the given HTML body and subject to one or more recipients. The body is delivered as-is with an html content type — no stored template is applied.
Intended for internal QA of the email-editor feature. Requires a staff (admin) token; the sender is the platform's configured no-reply address.
The to field accepts either a JSON array of addresses or a single comma-separated string (for example "a@example.com, b@example.com"); both forms are normalised to a list, and every address must be a valid email. The email is sent synchronously, so a 202 response means the message was handed to the mail backend for delivery.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The recipients, subject and HTML body of a test email.
The recipients. Either a JSON array of email addresses, or a single comma-separated string of addresses. At least one address is required and each must be a valid email.
["mustafa.emir@akinon.com"]The email subject line.
[TEST] Your Order Has Been PlacedThe raw HTML body, delivered as-is with an html content type.
<!doctype html><html><body>Hello</body></html>The email was accepted and handed to the mail backend for delivery.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
An error response.
A human-readable description of the error.
The authenticated user does not have administrator privileges.
POST /api/v1/remote/1/send-test-email/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 136
{
"to": [
"mustafa.emir@akinon.com"
],
"subject": "[TEST] Your Order Has Been Placed",
"html": "<!doctype html><html><body>Hello</body></html>"
}{
"detail": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}Last updated
Was this helpful?

