curl --request POST \
--url https://api.amisend.com/emails \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "[email protected]",
"to": [
"[email protected]",
"[email protected]"
],
"subject": "Welcome!",
"html": "<h1>Hello</h1>",
"scheduledAt": "2025-06-17T12:00:00Z",
"reply_to": "[email protected]",
"attachments": [
{}
]
}
'