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

/emails/batch

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-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 177 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 is an array of strings, even when sending to a single recipient.

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' \  -H 'Idempotency-Key: string' \  -d '[  {    "from": "string",    "to": "string",    "subject": "string",    "bcc": "string",    "cc": "string",    "reply_to": "string",    "html": "string",    "text": "string",    "template": {      "id": "string",      "variables": {        "variableName": "Sign up now",        "variableName2": 123      }    },    "headers": {},    "scheduled_at": "string",    "attachments": [      {        "content": "binary",        "filename": "string",        "path": "string",        "content_type": "string",        "content_id": "string"      }    ],    "tags": [      {        "name": "string",        "value": "string"      }    ],    "topic_id": "string"  }]'
Get a free Resend API key → sponsored

Parameters

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

Response 200 OK

{
  "data": [
    {
      "id": "string"
    }
  ]
}