Documentation

tinysend Documentation

Everything you need to send transactional email, build drip sequences, and integrate tinysend into your app or AI agent.

Quick Start

Send your first email in under 5 minutes using the REST API.

API Reference →

MCP Server

Let your AI agent send email directly — no API calls needed.

MCP docs →

Guides

Step-by-step tutorials for Node.js, Python, PHP, Go, and more.

All guides →

Sending your first email

tinysend exposes a simple REST API. Authentication uses API keys — create one in your dashboard, then include it as a Bearer token in every request.

curl -X POST https://api.tinysend.co/v1/emails \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": "[email protected]",
    "subject": "Welcome!",
    "html": "<p>Thanks for signing up.</p>"
  }'

That's it. A successful send returns HTTP 200 with a message ID you can use to track delivery status. See the full API Reference for all available parameters.

Domain authentication

Before sending in production, authenticate your domain with SPF, DKIM, and DMARC. This is the single most important step for inbox delivery.

SPF

Authorizes tinysend's servers to send on behalf of your domain.

TXT v=spf1 include:send.tinysend.co ~all
DKIM

Cryptographically signs your emails to prove they weren't tampered with.

Generated per domain in dashboard
DMARC

Tells receiving servers what to do with emails that fail SPF/DKIM.

TXT v=DMARC1; p=none; rua=...

See the full DKIM & SPF setup guide for step-by-step DNS instructions.

Language guides

Ready to start sending?

Free plan includes 1,000 emails/month. No credit card required.

Create free account