Developers
One API for every channel.
Send email, SMS, WhatsApp, and voice from a single REST endpoint. Manage audiences and templates, and stream delivery events through webhooks.
# Send an email in one call curl https://api.maildrill.com/v1/messages \ -H "Authorization: Bearer $MD_KEY" \ -d channel=email \ -d to=maya@acme.com \ -d template=spring-launch
Quickstart
Send your first message.
Install the SDK
npm install @maildrill/node
export MD_KEY="sk_live_…" Send a message
import { Maildrill } from '@maildrill/node';
const md = new Maildrill(process.env.MD_KEY);
await md.messages.send({
channel: 'sms',
to: '+15551234567',
body: 'Your order shipped 🎉'
}); Endpoints
A small, predictable surface.
- POST /v1/messages Send a message on any channel
- GET /v1/messages/:id Retrieve a message & its delivery status
- POST /v1/campaigns Create and schedule a campaign
- GET /v1/audiences List audiences and live segments
- POST /v1/contacts Upsert a contact into an audience
- POST /v1/webhooks Subscribe to delivery & engagement events
Grab an API key.
Create a free account, generate a key, and send your first message in minutes.