# POST /emails (Resend API)
Base URL: https://api.resend.com
Auth: Authorization: Bearer <RESEND_API_KEY>
Last verified: 2026-09-03

> Send an email

## 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' \
  -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"}'

## Parameters
| Name | In | Type | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| from | body | string | Yes | Sender email address. To include a fr... |
| to | body | string | Yes | Recipient email address. For multiple... |
| subject | body | string | Yes | Email subject. |

## Response (200 OK)
{"id":"string"}

---
Need an API key? Get one at https://resend.com/signup