/ /
Email API

Email API Service

Run email campaigns automatically, securely and quickly with Truesend's powerful Email API systems. From welcome emails and transactional emails, you get everything in one place.

The email API service helps you deliver the right message at the right time without manual effort.

50ms
Avg. Response Time
99.99%
API Uptime SLA
10B+
Emails Sent via API
100+
Official SDKs
Send Emails

Everything Developers Need from an Email API

Are you a developer looking for speed, flexibility, and reliability? You are at the right platform. Email API is the real solution for you. How? Take a look!

Quick Delivery

Speed is the key for developers. The Email API services at Truesend work hard to get every email to the users' inboxes right when it should.

Learn More

Dynamic Templates

Not just one; we have numerous templates that you can create instantly with the help of Handlebars or Liquid syntax and manage without touching application code through the API.

View Templates

Real-Time Webhooks

Opens, clicks, bounces, and unsubscribes- you get the instant notification. Use webhook data to lead automation workflows or decide actions.

Explore Webhooks

Batch & Bulk Sending

At Truesend, a single email API request helps you send bulk emails with a personalized touch. Easily customize every email with user-specific details.

Batch Docs

Smart Retry Logic

We have an intelligent retry system that fights your temporary delivery issues. It aims to deliver your email successfully with repeated effort.

Learn More

Analytics & Tracking

Track campaign performance and every email activity with detailed real-time analytics. Marketers know the open rates, click data, deliverability checks, and per-email output directly via email API.

Explore Analytics

Attachments & Inline Images

Easy to attach multiple documents like PDFs, invoices, and images to your transactional emails. Inline image support keeps your visuals rendering exactly as designed.

Learn More

Security & Auth

Secure your email infrastructure with our API keys, IP allowlisting, OAuth 2.0 authentication, and scoped access tokens. Give the right people the right level of access.

Security Docs

Sub-Account Management

Manage different sending domains, clients, as well as projects from a single parent account. It works perfectly for different agencies, SaaS platforms, and white-label products that wish for isolated sending environments.

Learn More

Go From Setup to Sending in Minutes

Our developer-friendly SDKs and detailed documentation simplify the email integration into your application. Start sending emails today without delays.

1

Download the SDK

Just a single command, and you are ready to install the SDK via package managers like npm, pip, composer, gem, or go get.

2

Authenticate with Your API Key

Copy your API key from your dashboard, connect your app, and you're ready to send emails through our API securely.

Node.js
Python
PHP
Ruby
Java
Installation & Setup
# 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
Transactional email Sandbox Ready
import { TrueSend } from '@truesend/node';
const ts = new TrueSend({
  apiKey: process.env.TRUESEND_API_KEY
});
              

Clean, Predictable API Endpoints

Our REST API is simple to use. You can smoothly integrate your system with email marketing with clear documentation. Fuel your email campaign with confidence.

With structured versioning and clear documentation, developers can confidently build integrations knowing future updates won’t disrupt existing implementations.

Versioned Endpoints
Consistent JSON Structure
OpenAPI Spec Postman Collection Sandbox Mode
Method Endpoint Description
POST /v1/emails/send Send a single email
GET /v1/emails/{id}/events Get email events
GET /v1/templates List all templates
PUT /v1/templates/{id} Update a template
GET /v1/domains List sending domains
POST /v1/webhooks Register a webhook
DELETE /v1/webhooks/{id} Remove a webhook

Real-Time Email Event Notifications

Our Webhook keeps you updated with instant notifications. You get real-time reports of email delivery, opens, clicks, bounces, and unsubscribe rates. Webhooks help you automate workflows, update your CRM, and set up follow-up actions.

Email.Opened

Triggered when a recipient opens your email on any device or email client.

opened

Email.clicked

A tracked link in your email is clicked

clicked

email.delivered

Confirmed delivery to recipient inbox

delivered
Webhook Payload Example
{ "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!" } }

Security Built Into Every Layer

We provide enterprise-level security standards for your API credentials, subscriber data, and sending reputation so that you can just relax and focus on email marketing.

API Key Scoping

You can create API keys with granular permissions and rotate them instantly. No need to break your integrations.

Webhook Signatures

We sign every webhook with HMAC-SHA256. It helps marketers verify that it actually came from us before they start it.

IP Allowlisting

Safety comes first, so you can limit the API access to only the IP addresses you trust. You can keep unwanted requests out from the start.

Advanced Encryption

We encrypt all data moving between your app and our email API with TLS 1.3. We ensure that your data stays protected in transit.

API Key Management

Production Key
ts_live_••••••••••••••••3f7a
Active
Test / Sandbox Key
ts_test_••••••••••••••••9c2b
Sandbox
Analytics Read-Only
ts_live_••••••••••••••••1a4d
Read Only
Recent API Activity
POST /v1/emails/send
200 · 48ms
GET /v1/emails/msg_01J3
200 · 22ms
POST /v1/emails/batch
202 · 91ms
POST /v1/emails/send
429 · Rate Limit

Flexible Limits for Every Scale

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.

Plan Emails / Month API Req / Min Batch Size
Free 3,000 60 100
Pro 100,000 300 500
Business 1,000,000 1,000 1,000
Enterprise Unlimited Custom Custom

Deliver Your Best Work With True Send

  • No Credit Card Needed
  • Unlimited Time On Free Plan