Compatibility
Send a batch of emails, Resend-shaped
POST/emails/batchrequires email:send
The path resend.batch.send already posts. The body is an array of the same send objects as POST /emails, at most 100. Attachments are refused: Resend's batch endpoint does not take them. Default validation is strict (one bad row fails the batch). x-batch-validation: permissive queues what it can and returns { data, errors }. Answers { data: [{ id }] }, as Resend does.
Requestcurl -X POST https://api.transmit.dev/emails/batch \
-H "Authorization: Bearer tr_v2_…"Responses
| Status | Meaning |
|---|---|
200 | Queued. In permissive mode, errors names the rows that were not. |
401 | The API key is missing, malformed, expired or revoked |
403 | The API key lacks the email:send scope |
422 | The request failed validation, or names something we will not silently ignore |
Every response body is described in the OpenAPI spec, which this page is generated from.