Developers
Email API
Send OTPs, welcome mails, receipts and alerts from your existing app — delivered from your brand@mllr.in address, no domain setup required.
1. Get an API key
Sign in, open Profile and create a key under “API keys”. Keep it on your server — never put it in a website or mobile app. Every email sent uses one credit from your plan.
2. Send an email
POST https://mllr.necrus.in/api/public/v1/send
curl -X POST https://mllr.necrus.in/api/public/v1/send \
-H "Authorization: Bearer mllr_your_key" \
-H "Content-Type: application/json" \
-d '{
"to": "user@example.com",
"subject": "Your login code",
"html": "<p>Your OTP is <b>482913</b>. It expires in 10 minutes.</p>"
}'Node.js — welcome mail
const res = await fetch("https://mllr.necrus.in/api/public/v1/send", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MLLR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
to: "new.user@example.com",
subject: "Welcome aboard!",
html: "<h1>Welcome 👋</h1><p>Thanks for signing up.</p>",
}),
});
const data = await res.json(); // { success, sent, failed, credits_remaining }Python
import requests, os
requests.post("https://mllr.necrus.in/api/public/v1/send",
headers={"Authorization": f"Bearer {os.environ['MLLR_API_KEY']}"},
json={"to": ["a@example.com", "b@example.com"],
"subject": "Order shipped", "text": "Your order is on the way."})Request fields
tostring | string[]Required. One email or up to 50. Each recipient gets a private copy.subjectstringRequired. Up to 250 characters.htmlstringHTML body. Provide html or text.textstringPlain-text body, used when html is missing.from_namestringOptional. Overrides your brand name as the sender name.Response & errors
{ "success": true, "sent": 1, "failed": 0, "credits_remaining": 49 }401Missing, invalid or revoked API key402Not enough credits left on your plan422Invalid request body500 / 502Temporary sending issue — retry after a short waitStart sending from mllr.in
Claim your address, import contacts and send your first campaign in minutes — no domain setup, no DNS records.
Create your account