Send a transactional email through your workspace's connected Resend account. The send is logged and the Resend message ID is returned.
| Header | Value |
|---|---|
Authorization | Bearer ps_live_YOUR_API_KEY — required |
Content-Type | application/json — required |
JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
to | string | required | Recipient email address. |
subject | string | required | Email subject line. |
html | string | required | HTML body of the email. |
from | string | optional | Sender address. Defaults to noreply@pristinesend.com. Use a verified domain address for best deliverability. |
Example request body:
On success the API returns 200 with:
On validation failure the API returns 400:
See Error codes for the full list of possible errors.
Rate limits are inherited from your Resend plan. PristineSend imposes no additional per-request limits, but bulk sends should use the campaign API (coming soon) rather than looping over individual /send calls.