cURL
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>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Emails queued successfully
The response is of type object.
object