Emails
Send an email
POST
bearerheader
AuthorizationBearer <token>Idempotency-Key?string|nullX-Exx-Stream?string|nullapplication/json- body
POST /emails body (Resend's shape); see api.md for every field.
attachments?array<>|nullbcc?array<string>|nullcc?array<string>|nullfrom?|Required, unless template names a template with a default sender.
headers?|nullhtml?string|nullreply_to?array<string>|nullscheduled_at?|ISO 8601, or in <n> <minutes|hours|days>.
subject?|Required, unless template names a template with a default subject.
tags?array<>|nulltemplate?|nulltext?string|nullto*array<string>One address or a list (at most 50 with cc and bcc).
Success
application/json- response
id*stringFormat
uuidcurl -X POST 'https://api.exx.sh/emails' \ -H 'Content-Type: application/json' \ -d '{ "to": [ "string" ]}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}