Developers

An API you will enjoy

Send transactional e-mail, manage contacts and read results with a simple, versioned REST API. The same API grows to WhatsApp, SMS and verification codes.

REST API v1

JSON in, JSON out. Clear errors with a request ID for every call.

Scoped API keys

Give each app only the access it needs. Keys are shown once and can be revoked at any time.

Signed webhooks

Delivery, bounce, open, click and unsubscribe events, signed so you know they are ours.

Safe retries

Send with an Idempotency-Key: a retried request never sends twice.

Security first

TLS everywhere, encrypted secrets, row-level separation of every customer's data.

Live status

See every message's journey: queued, sent, delivered, opened, clicked.

curl https://api.mailtomoon.com/v1/messages \
  -H "Authorization: Bearer mtm_xxxxxxxx_your_key" \
  -H "Idempotency-Key: order-1042" \
  -d '{"from": "Shop <[email protected]>", "to": "[email protected]",
       "subject": "Your order is on its way", "html": "<p>Hi {{ first_name }}</p>"}'

Ready when you are

Start free today, or let us set everything up for you.