v1

latestOpenAPI 3.0.02026-07-26173440.3 KB
Email

Send Email

Send an email to one or more recipients through the Wunderkind email delivery platform to a subscribers of the website id set by wunderkind.

This endpoint supports both HTML and plain text email content, custom sender information, and flexible recipient management. All emails are processed synchronously.

Important Notes:

  • All recipient email addresses must be valid and properly formatted
  • The sender email address must be verified and susbcribed for the website id set by wunderkind
  • If the email address is not subscribed, system silently ignores
  • HTML content should be properly encoded and sanitized
  • Large recipient lists may experience delayed processing
post/email/send

Request body

to_emailsstring[] required

List of recipient email addresses

subjectstring required

Email subject line

fromstring email required

Sender email address

from_namestring

Sender display name

reply_tostring email

Reply-to email address

bodystring required

Email body content (HTML or plain text)

Example request

{
  "to_emails": [
    "recipient1@example.com",
    "recipient2@example.com"
  ],
  "subject": "Your Email Subject",
  "from": "sender@example.com",
  "from_name": "Sender Name",
  "reply_to": "reply@example.com",
  "body": "<html><body>Hello, World!</body></html>"
}

Response

Email sent successfully

status_code'Success' | 'Error' required

Status code indicating the result of the email send operation

messagestring required

Human-readable message describing the result

Example response

{
  "status_code": "Success",
  "message": "Emails sent successfully"
}