Skip to main content
POST
/
api
/
email
/
send
Send raw HTML email
curl --request POST \
  --url https://api.example.com/api/email/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to": "[email protected]",
  "subject": "Welcome to our platform",
  "html": "<h1>Welcome!</h1><p>Thank you for joining us.</p>",
  "cc": "[email protected]",
  "bcc": "[email protected]",
  "from": "My App",
  "replyTo": "[email protected]"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
to
required

Recipient email address(es) - maximum 50 recipients

subject
string
required

Email subject line

Required string length: 1 - 500
Example:

"Welcome to our platform"

html
string
required

HTML content of the email body

Minimum string length: 1
Example:

"<h1>Welcome!</h1><p>Thank you for joining us.</p>"

cc

Carbon copy recipient(s) - maximum 50 recipients

bcc

Blind carbon copy recipient(s) - maximum 50 recipients

from
string

Custom sender name (uses default if not provided)

Maximum string length: 100
Example:

"My App"

replyTo
string<email>

Reply-to email address

Response

Email sent successfully

Empty object on success - extend with optional fields later if needed