Emails

Send an email

POST
/emails

Authorization

bearer
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key?string|null
X-Exx-Stream?string|null

Request Body

application/json
  1. body

POST /emails body (Resend's shape); see api.md for every field.

attachments?array<>|null
bcc?array<string>|null
cc?array<string>|null
from?|

Required, unless template names a template with a default sender.

headers?|null
html?string|null
reply_to?array<string>|null
scheduled_at?|

ISO 8601, or in <n> <minutes|hours|days>.

subject?|

Required, unless template names a template with a default subject.

tags?array<>|null
template?|null
text?string|null
to*array<string>

One address or a list (at most 50 with cc and bcc).

Response Body

Success

application/json
  1. response
id*string
Formatuuid
Example Request
curl -X POST 'https://api.exx.sh/emails' \  -H 'Content-Type: application/json' \  -d '{  "to": [    "string"  ]}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}