Transmitly documentation

Node.js SDK

Install the Transmitly Node.js SDK, send a transactional email and control idempotency.

Last reviewed November 20, 2026 · OpenAPI 3.1 · API reference

@transmitly/sdk is a dependency-free client for Node 18+ and uses global fetch.

Package: npm · OpenAPI 3.1

Install

install
npm install @transmitly/sdk

Send your first email

send
import { Transmitly } from "@transmitly/sdk";

const tx = new Transmitly({ apiKey: process.env.TRANSMITLY_KEY });

const accepted = await tx.emails.send({
  from: "Notify <[email protected]>",
  to: ["[email protected]"],
  subject: "Your workspace is ready",
  html: "<p>Welcome.</p>",
  tags: { flow: "onboarding" },
});
// { id: "msg_…", status: "accepted", recipients: 1 }

emails.send generates an idempotency key; pass { idempotencyKey } to control it. emails.sendBatch accepts up to 100 messages. The client also exposes messages, deliveries, domains, suppressions, webhooks and usage.

Next steps

See the API reference for the shared contract, or SDKs and CLI for React Email rendering.

Need the full API surface? OpenAPI 3.1.