Skip to main content
POST
/
emails
Send Email
curl --request POST \
  --url https://api.amisend.com/emails \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from": "noreply@example.com",
  "to": [
    "user1@example.com",
    "user2@example.com"
  ],
  "subject": "Welcome!",
  "html": "<h1>Hello</h1>",
  "scheduledAt": "2025-06-17T12:00:00Z",
  "reply_to": "support@example.com",
  "attachments": [
    {}
  ]
}'
{
  "message": "Emails queued",
  "id": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
from
string
Example:

"noreply@example.com"

to
string[]
Example:
["user1@example.com", "user2@example.com"]
subject
string
Example:

"Welcome!"

html
string
Example:

"<h1>Hello</h1>"

scheduledAt
string<date-time>
Example:

"2025-06-17T12:00:00Z"

reply_to
string
Example:

"support@example.com"

attachments
object[]

Response

Emails queued successfully

message
string
Example:

"Emails queued"

id
string[]
I