apicheats.dev resend/llms.txt Raw .md
POST

POST /emails/batch — Resend API

Resend API

Trigger up to 100 batch emails at once.

Base URL
https://api.resend.com
Auth
Authorization: Bearer <RESEND_API_KEY>
Last verified
2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 184 tokens · Vary: Accept

Critical gotchas

All requests must include a User-Agent header (e.g. User-Agent: my-app/1.0) or the API returns HTTP 403.

The to field accepts either a single recipient email address string or an array of strings for multiple recipients (max 50).

cURL

curl -X POST 'https://api.resend.com/emails/batch' \  -H "Authorization: Bearer $RESEND_API_KEY" \  -H 'User-Agent: my-app/1.0' \  -H 'Content-Type: application/json' \  -d '[  {    "from": "Acme <[email protected]>",    "to": [      "[email protected]"    ],    "subject": "Hello World",    "html": "<p>It works!</p>"  }]'

Parameters

Name In Type Required Description
body body object[] No Request body.

Response 200 OK

{
  "data": [
    {
      "id": "string"
    }
  ]
}
Get a free Resend API key → sponsored

Affiliate link - we may earn a commission, at no extra cost to you.