v1

latestOpenAPI 3.0.02026-08-067926202.5 KB
Send Email

Send Email API

Send email to recipient(s) using API

post/send-email/process

Request body

from_emailstring email required

Sender email address (must be verified sender)

subjectstring

Email subject line

html_bodystring

HTML content of the email (either html_body or text_body is required)

text_bodystring

Plain text content of the email (either html_body or text_body is required)

Example request

{
  "from_email": "sender@example.com",
  "subject": "Test Email Subject",
  "html_body": "<h1>Hello World</h1><p>This is a test email.</p>",
  "text_body": "Hello World\\n\\nThis is a test email."
}

Response

Email sent successfully

status'success'
codeinteger

Example response

{
  "code": 200
}