POST
/sendSend a single transactional email.
Body parameters
| from | required | A verified sender address. |
| from_name | optional | Display name for the sender. |
| reply_to | optional | Reply-to address. |
| to | required | Recipient email address. |
| to_name | optional | Recipient display name. |
| subject | required | Email subject line. |
| html | required | HTML body. |
| text | optional | Plain-text body. |
Request
curl -X POST https://api.nhume.co.zw/api/v1/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "sender@yourdomain.com",
"to": "customer@example.com",
"subject": "Your receipt",
"html": "<p>Thanks for your order.</p>"
}'Response
{
"data": {
"id": "9b1c0d2e-...",
"status": "QUEUED",
"to": "customer@example.com",
"subject": "Your receipt"
},
"message": "Message accepted for delivery."
}