Skip to main content
POST
/
v1
/
internal
/
email
/
send
Send an email via the centralized Trigger task (internal)
curl --request POST \
  --url http://localhost:3333/v1/internal/email/send \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "to": "<string>",
  "subject": "<string>",
  "html": "<string>",
  "from": "<string>",
  "system": true,
  "cc": {},
  "scheduledAt": "<string>",
  "attachments": [
    "<string>"
  ]
}
'

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
to
string
required

Recipient email address

subject
string
required

Email subject line

html
string
required

Pre-rendered HTML content

from
string

Explicit FROM address override

system
boolean

Use system sender address (RESEND_FROM_SYSTEM)

cc
object

CC recipients

scheduledAt
string

Schedule email for later delivery

attachments
string[]

File attachments

Response

200

Email task triggered