Send Batch Emails

Trigger up to 100 batch emails at once.

Authentication

AuthorizationBearer

Your Resent API key (re_xxxxxxxxx)

Headers

Idempotency-KeystringOptional<=256 characters

Request

This endpoint expects a list of objects.
fromstringRequired

Sender email address. Use Name <email@example.com> for a friendly name.

tostring or list of stringsRequired

Recipient email address(es). Max 50.

subjectstringRequired
bccstring or list of stringsOptional
ccstring or list of stringsOptional
reply_tostring or list of stringsOptional
htmlstringOptional
HTML version of the message.
textstringOptional
Plain text version of the message.
headersmap from strings to stringsOptional
scheduled_atstringOptional

Natural language (e.g. in 1 min) or ISO 8601 datetime.

tagslist of objectsOptional
attachmentslist of objectsOptional
templateobjectOptional

Response

Batch accepted
datalist of objects