emitd

Quickstart

Getting started with emitd

Welcome to the emitd documentation. We provide developer-first transactional and marketing email APIs built on Cloudflare's edge, backed by AWS SES for delivery.

Sending your first email

To send an email, you will need an API key. You can create an API key in the Dashboard.

curl -X POST https://api.emitd.com/v1/email \
  -H "Authorization: Bearer esk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Acme <onboarding@acme.com>",
    "to": ["user@example.com"],
    "subject": "Welcome to Acme",
    "html": "<h1>Hello, World!</h1>"
  }'

SDKs

We provide official SDKs for Node.js, Python, and Rust.

Node.js

npm install @emitd/node
import { Emitd } from '@emitd/node';

const emitd = new Emitd('esk_live_...');

await emitd.emails.send({
  from: 'Acme <onboarding@acme.com>',
  to: ['user@example.com'],
  subject: 'Welcome to Acme',
  html: '<h1>Hello, World!</h1>',
});

On this page