curl -X POST https://api.autosend.com/v1/mails/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": {
"email": "[email protected]",
"name": "Jane Doe"
},
"from": {
"email": "[email protected]",
"name": "Your Company"
},
"subject": "Welcome to Our Platform!",
"html": "<h1>Welcome!</h1><p>Thanks for signing up.</p>"
}'