Get started
Deckle documentation
Deckle is a design-first email platform — the developer experience of a modern email API with the audience, templates, and automations of a marketing tool. Send transactional and marketing email from your own domain.
Everything you send goes out from a domain you own and verify, so your reputation stays yours. Start with a single API call, then grow into contacts, campaigns, and event-driven automations without changing tools.
import { Deckle } from "@deckle/sdk";
const deckle = new Deckle(process.env.DECKLE_API_KEY!);
await deckle.emails.send({
from: "Acme <hello@acme.com>",
to: "jane@example.com",
subject: "Welcome to Acme 👋",
html: "<h1>Hey Jane</h1><p>Thanks for joining.</p>",
});New to Deckle?
Follow the Quickstart to send your first email in under five minutes, then verify a domain to start sending to real inboxes.Built for LLMs. For all documentation in an index, see llms.txt. To read the full text of the documentation, see llms-full.txt.
Start building#
Jump straight to what you need.
Create a key and send your first email with the SDK, HTTP, or SMTP.
Transactional sends, templates, variables, attachments, and idempotency.
Manage contacts, track events, build segments, and handle suppressions.
Trigger multi-step email flows from events and subscriptions.
Verify a domain with DKIM, SPF, and DMARC to protect your reputation.
Every endpoint, parameter, and response for the Deckle REST API.
What you can build#
Deckle covers the full lifecycle of the email you send — from a one-off password reset to a recurring newsletter to a lifecycle automation that reacts to what your users do.
Receipts, magic links, and alerts over the API, SMTP, or SDK.
Broadcast to your whole list or a segment, with A/B subject lines.
A gallery of clean, deliverability-safe templates you can brand and reuse.
How it fits together#
Under the hood, Deckle runs on Amazon SES and layers an event-driven core on top: contacts are keyed by email, events record what they do, and automations react to those events. That single primitive is what turns a send API into a marketing platform. Read How Deckle works for the full picture.
Base URL
The API is served athttps://app.getdeckle.com/api/v1. All requests are authenticated with a secret API key — see API keys.