Send Batch Emails
Trigger up to 100 batch emails at once.
Instead of sending one email per HTTP request, we provide a batching endpoint that permits you to send up to 100 emails in a single API call.
Body Parameters
Sender email address.
To include a friendly name, use the format "Your Name <sender@domain.com>"
.
Recipient email address. For multiple addresses, send as an array of strings. Max 50.
Email subject.
Bcc recipient email address. For multiple addresses, send as an array of strings.
Cc recipient email address. For multiple addresses, send as an array of strings.
Reply-to email address. For multiple addresses, send as an array of strings.
The HTML version of the message.
The plain text version of the message.
The React component used to write the message. Only available in the Node.js SDK.
Custom headers to add to the email.
Headers
Add an idempotency key to prevent duplicated emails.
- Should be unique per API request
- Idempotency keys expire after 24 hours
- Have a maximum length of 256 characters
Limitations
The attachments
, tags
, and scheduled_at
fields are not supported yet.