Skip to main content

REST API

Send emails with precision

The Mail Tactic REST API gives you complete control over your email sending pipeline. From a single transactional message to millions of automated notifications — one endpoint, zero friction.

One request to send

curl -X POST https://api.mailtactic.com/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "user@example.com",
    "from": "noreply@yourdomain.com",
    "subject": "Your order has shipped",
    "html": "<h1>On its way!</h1><p>Track your order at...</p>"
  }'

Every sent message returns a unique event ID. Use it to query delivery status, opens, clicks, and bounces in real time.

Authentication

Authenticate with a scoped Bearer token. Keys are read-only or read/write. Rotate any time without downtime.

What the API covers

  • Send — single messages, bulk batches, and scheduled sends
  • Track — per-message delivery, open, click, and bounce events
  • Suppress — manage global and per-domain suppression lists
  • Domains — verify sending domains, check DKIM/SPF status
  • Logs — query full send history with filters

Rate limits

Rate limits scale with your plan. When you approach a limit, response headers tell you exactly when your quota resets — no guessing.

Response format

All responses are JSON. Errors follow a consistent shape with a machine-readable code and a human-readable message. No surprises.

What’s next