Skip to main content

Overview

Ensend ships primarily as a dependency-free REST API and supports requests from any valid HTTP Client. To enhance your developer experience, we have provided SDKs for major programming languages. This guide shows how to install and configure these SDKs or your http client to begin using ensend in your application
Alternatively, you can send emails using our SMTP Server.
1

Install from the package manager

bun add ensend@latest
yarn add ensend@latest
npm install ensend@latest
pnpm install ensend@latest
2

Initialize the SDK

ensend.config.ts
import { Client } from "ensend"

const ensend = new Client({
  secret: "your_project_secret",
});

export ensend
3

Send your first message

Send an Email message, SMS, WhatsApp message or push notification
const { data, error } = await ensend.SendApi.SendMailMessage({
  subject: "Ensend Test Email",
  message: "<b>It works 🎉</b>",
  sender: {
    name: "your_identity_name",
    address: "your_sender_identity"
  },
  recipients: {
    name: "your_recipient_name",
    address: "your_recipient_address"
  }
});
// coming soon
// coming soon
// coming soon
Last modified on May 16, 2026