Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ensend.co/llms.txt

Use this file to discover all available pages before exploring further.

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
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"
  }
});
Last modified on April 14, 2026