Skip to main content
POST
Send email via AWS SES

Authorizations

Authorization
string
header
required

JWT token obtained from /api/auth/token endpoint. Token is verified using JWKS and must include a valid user identifier.

Body

application/json
to
string<email>
required

Recipient email address

Example:

"user@example.com"

subject
string
required

Email subject line (max 200 characters)

Required string length: 1 - 200
Example:

"Welcome to our service"

html
string
required

HTML email content (max 500KB)

Required string length: 1 - 500000
Example:

"<html><body><h1>Hello!</h1><p>Welcome to our service.</p></body></html>"

text
string

Plain text fallback (max 100KB, optional)

Maximum string length: 100000
Example:

"Hello! Welcome to our service."

replyTo
string<email>

Reply-to email address (optional)

Example:

"support@example.com"

metadata
object

Additional metadata for tracking (optional)

Example:

Response

Email sent successfully

success
boolean
required
messageId
string
required