One request, and the rest is handled.

Send transactional email with a single POST, or over SMTP. Every message is queued, tracked and recorded from accepted to delivered.

POST /v1/emails takes a JSON body and answers 201 with the new email's id. The message is queued straight away and sent within seconds, so your request returns without waiting on a mail server. One send takes up to 50 recipients across to, cc and bcc, with HTML, plain text or both.

Everything you would otherwise build yourself is already there: attachments up to 7 MB, custom headers, up to 10 tags for filtering, and scheduling up to 30 days ahead with the option to cancel. Send an idempotency key with anything you might retry and a repeat returns the original email instead of sending twice. Code that already sends over SMTP can use the relay instead, with an API key as the password, and its mail lands in the same log.

  • Accepted in milliseconds, queued and retried on your behalf
  • Attachments, tags, custom headers and scheduled sends
  • Idempotency keys so a retry can never send twice
POST /v1/emails
curl -X POST https://api.avelto.dev/v1/emails \
-H "Authorization: Bearer av_live_..." \
-H "Content-Type: application/json" \
-d '{
"from": "Acme <hello@mail.acme.com>",
"to": "jane@example.com",
"subject": "Your receipt",
"html": "<p>Thanks for your order.</p>"
}'
201 Created{ "id": "9c1f4a52-6f6e-4b8f…" }

More of what Avelto does