Send an email to one or multiple recipients
API key authentication. Use your API key as the bearer token.
"recipient@example.com"
Sender email. Accepts 'email@example.com' or 'Name email@example.com' format. Required if not using a template with from_email set.
"John Doe <sender@example.com>"
CC recipients
["cc1@example.com", "cc2@example.com"]BCC recipients
["bcc1@example.com", "bcc2@example.com"]Email subject. Required if not using a template.
1"Hello World"
"<h1>Hello</h1>"
"Hello"
Template ID. When provided, template values are used for subject, html, text, from, reply_to, and preview_text.
"123e4567-e89b-12d3-a456-426614174000"
Variables to render in the template. Must include all variables defined in the template.
{ "name": "John", "company": "Acme" }{ "campaign": "welcome", "source": "signup" }Reply-To email address. Overrides template reply_to if provided.
"support@example.com"
Preview text (preheader). Overrides template preview_text if provided.
"Check out our latest updates..."
Schedule email to be sent at this time. If not provided, email is sent immediately.
"2024-01-15T10:30:00Z"
Email sent successfully
true
"123e4567-e89b-12d3-a456-426614174000"
1
Present when email is scheduled
"2024-01-15T10:30:00Z"
Email status: 'sent' for immediate emails, 'scheduled' for scheduled emails
"sent"