Skip to main content

Quickstart

This guide will get you sending emails in minutes using our TypeScript SDK.
1

Install the SDK

Install the package using your favorite package manager:
npm install emailapi-sdk
2

Get your API Key

Sign up on the dashboard, create a workspace, and grab your API key (starts with em_).
3

Send your first email

Create a client and send!
import { createClient } from 'emailapi-sdk';

const client = createClient({
  apiKey: 'em_prod_123...'
});

await client.send({
  from: '[email protected]',
  to: ['[email protected]'],
  subject: 'Hello from SimpleEmailAPI',
  body: 'It works!'
});

Next Steps