For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

post
/send-test-email/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Body

The recipients, subject and HTML body of a test email.

toone ofRequired

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.

Example: ["mustafa.emir@akinon.com"]
string · email[] · min: 1Optional
or
stringOptional
subjectstringRequired

The email subject line.

Example: [TEST] Your Order Has Been Placed
htmlstringRequired

The raw HTML body, delivered as-is with an html content type.

Example: <!doctype html><html><body>Hello</body></html>
Responses
401

Authentication credentials were not provided or are invalid.

application/json

An error response.

detailstringOptional

A human-readable description of the error.

Other propertiesanyOptional
post/send-test-email/
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?