POST /v1/emails/batch
The body is an emails array, where each element is exactly the same shape as a single POST /v1/emails body. Counts as one request against your rate limit.
Body parameters
Between 1 and 100 send objects. Each item accepts the full send-email body —
from, to, subject, html/text or templateId + data, attachments, tags, and so on.Headers
Names the sending project for account-wide keys (alias:
X-Drin-Sender). Project-scoped keys may omit it.Request
Response
207 Multi-Status — a data array aligned to your input order. Each element either carries an id (the message was queued) or an error with the usual { type, message, param? } envelope. Always inspect every element; a 207 does not mean every send succeeded.
207 Multi-Status
One template, many recipients. To send the same template to many people, set the same
templateId on each item and vary to and data. See Batch & scheduled.