Quickstart: Node.js
Node 18+ has everything you need built in. No SDK, no install — just fetch.
send.mjs
const res = await fetch("https://api.calder.click/v1/emails", {
method: "POST",
headers: {
Authorization: "Bearer calder_sk_test_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
from: "app@acme.com",
to: "you@example.com",
subject: "Hello from Calder",
text: "It works.",
}),
});Run it with node send.mjs. A 202 means queued; watch the timeline in your dashboard, then read Webhooks to get pinged on delivery.