Integrate transactional and marketing email directly into your product with a fast, reliable, and developer-friendly API.
From password resets and notifications to large-scale marketing campaigns, the API is designed to deliver emails quickly, reliably, and securely.
Our email API is built for developers who need speed, flexibility, and reliability at scale.
Engineered for performance with intelligent queuing and optimized infrastructure. Emails are processed and delivered quickly, so your application communications reach users without delay.
Learn MoreCreate reusable templates using Handlebars or Liquid syntax with full variable support. Manage templates through the API or update them visually without touching your application code.
View TemplatesReceive instant notifications for key email events such as opens, clicks, bounces, and unsubscribes. Use these events to power automation workflows or trigger actions inside your product.
Explore WebhooksSend large volumes of personalized emails through a single API request. The batch endpoint supports per-recipient variable substitution, enabling fully customized messages even at massive scale.
Batch DocsTemporary delivery issues are handled automatically with intelligent retry mechanisms. Exponential backoff ensures messages are retried safely until successful delivery.
Learn MoreTrack campaign performance and message activity with detailed analytics. Access open rates, click data, deliverability insights, and per-message metrics directly through the API.
Explore AnalyticsAttach documents such as PDFs, invoices, and images to transactional emails. Inline image support ensures consistent rendering across email clients.
Learn MoreProtect your email infrastructure with API keys, OAuth 2.0 authentication, IP allowlisting, and scoped access tokens designed for secure multi-team environments.
Security DocsManage multiple sending domains, clients, or projects from a single parent account. Perfect for SaaS platforms, agencies, and whitelabel products that need isolated sending environments.
Learn MoreOur official SDKs and comprehensive developer documentation help you integrate email capabilities into your application quickly.
Use a single command to install the SDK via package managers like npm, pip, composer, gem, or go get.
Create an API key in your dashboard and add it as an environment variable in your application.
Make a request to the /v1/emails/send
endpoint with your email payload. Within milliseconds, the API processes your request and returns a delivery response.
Configure webhooks to receive real-time updates for opens, clicks, bounces, and other email events.
# Install via npm npm install @truesend/node # Set your API key export TRUESEND_API_KEY="ts_live_xxxxxxxxxxxx" # Run the test script node send-email.js
import { TrueSend } from '@truesend/node'; const ts = new TrueSend({ apiKey: process.env.TRUESEND_API_KEY }); if (error) console.error(error); else console.log('Sent!', data.messageId);
Our API follows a fully RESTful architecture, designed to be simple, consistent, and developer-friendly.
With structured versioning and clear documentation, developers can confidently build integrations knowing future updates won’t disrupt existing implementations.
Webhooks allow your application to react immediately to subscriber activity, enabling automation, analytics updates, and real-time workflows powered by email engagement data.
Triggered when a recipient opens your email on any device or email client.
A tracked link in your email is clicked
Confirmed delivery to recipient inbox
// POST https://yourapp.com/webhooks/email // Content-Type: application/json // X-TrueSend-Signature: sha256=abc123... { "event": "email.opened", "messageId": "msg_01J3K9X2PQ4R7WZ", "timestamp": "2026-02-25T10:14:33Z", "recipient": { "email": "[email protected]", "name": "John Doe" }, "metadata": { "userAgent": "AppleMail/17.0", "device": "desktop", "country": "US", "ip": "192.168.x.x" }, "campaign": { "id": "camp_welcome_series", "subject": "Welcome to TrueSend!" } }
Your API credentials, subscriber data, and sending reputation are safeguarded with enterprise-level security standards.
Create API keys with granular access levels. Keys can be rotated instantly without interrupting integrations.
Each webhook request is signed using HMAC-SHA256 signatures.
Limit API access to specific IP addresses or ranges to maintain strict control
All data transmitted between your application and the API is secured with TLS 1.3.
Start free and grow without limits. Every plan comes with generous API rate limits and the ability to request increases for high-volume use cases.