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>"
]
}
'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>"
]
}
'API key for authentication
Recipient email address
Email subject line
Pre-rendered HTML content
Explicit FROM address override
Use system sender address (RESEND_FROM_SYSTEM)
CC recipients
Schedule email for later delivery
File attachments
Email task triggered
Was this page helpful?