Robust Email documentation

Robust Email has two APIs:

  • The email API (/api/v2) sends individual emails from your app: receipts, sign-in links, alerts. Authenticate with an API key (rb_live_… or rb_test_…).
  • The marketing API (/api/v1) manages lists, contacts and campaigns. See Marketing API.

Send your first email

Base URL: https://robustemail.com/api/v2

const res = await fetch("https://robustemail.com/api/v2/emails", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.ROBUSTEMAIL_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": "order-1042",
  },
  body: JSON.stringify({
    from: "Acme <orders@acme.com>",
    to: "jane@example.com",
    subject: "Order #1042 confirmed",
    html: "<p>Thanks for your order!</p>",
  }),
});

const { id } = await res.json();
200 OK {"id": "6adc79043cbea"}

New here? Start with the quickstart: it takes about five minutes with a test key.

Getting started

API reference

Send with your language