Swiftmail Docs

Send Email

POST
/emails

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

from*string

Sender email address

to*array<>

Recipient email address

Items1 <= items
cc?array<>
bcc?array<>
subject*string

Email subject

html?string

HTML content of the email

text?string

Plain text content of the email

attachments?array<>

Response Body

curl -X POST "https://sm-api.thrn.cc/v1/emails" \  -H "Content-Type: application/json" \  -d '{    "from": "string",    "to": [      "string"    ],    "subject": "string"  }'
Empty
Empty
Empty
Empty