Private build — not open for production traffic yet
Email, without the overhead.
Building a simpler email API for transactional email: test safely, understand delivery and control cost. Made in Sweden, for developers everywhere.
curl -X POST https://api.hedvi.dev/emails \
-H "Authorization: Bearer hv_test_…" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: welcome-42" \
-d '{
"from": "Acme <onboarding@hedvi.dev>",
"to": "you@example.com",
"subject": "Hello from Hedvi",
"html": "<p>It works.</p>"
}'// npm install resend@6.39.0
// RESEND_BASE_URL=https://api.hedvi.dev
import { Resend } from "resend";
const resend = new Resend("hv_test_…");
const { data, error } = await resend.emails.send(
{ from: "Acme <onboarding@hedvi.dev>", to: "you@example.com", subject: "Hello from Hedvi", html: "<p>It works.</p>" },
{ idempotencyKey: "welcome-42" },
);# pip install resend==2.54.0
# RESEND_API_URL=https://api.hedvi.dev
import resend
resend.api_key = "hv_test_…"
email = resend.Emails.send({
"from": "Acme <onboarding@hedvi.dev>",
"to": "you@example.com",
"subject": "Hello from Hedvi",
"html": "<p>It works.</p>",
})Test safely
Every project starts with a test key and a test inbox. Test mail is captured, never delivered, and the key's mode is checked in the database — not from its prefix.
Understand delivery
Queued, accepted by the provider and the receiving server's answer are separate steps per recipient. “Delivered” means the server accepted it, not inbox placement.
Control cost
Hard stop by default, alerts at 80 and 95 %, prepaid credits without a subscription and overage only up to a cap you set.
Flow
One path from test to production
- Test
- Add domain
- Get approved
- Send
- Follow each recipient
Resend SDKs
Works with the Resend SDKs you already use
A documented subset of the Resend API. Set the base URL and use a Hedvi key. See exactly what is supported.
# Node · resend@6.39.0 RESEND_BASE_URL=https://api.hedvi.dev # Python · resend==2.54.0 RESEND_API_URL=https://api.hedvi.dev RESEND_API_KEY=hv_live_…
Honest by default
What we promise today
- Email content and delivery logs are designed to stay in Stockholm (eu-north-1). We publish the full data map before we say it as a fact.
- Accepted means durably stored: we answer only after the email, its quota reservation and its send job are committed.
- If the provider's answer is ambiguous we show “delivery unknown” instead of retrying blindly and risking a duplicate.