Overview
Unosend’s API is designed to be a drop-in replacement for Resend. Most code changes are just updating the base URL and API key. Why switch:- Lower pricing — 100K emails for 80/mo
- Unlimited broadcasts — no separate broadcast limits
- SMS + WhatsApp — multi-channel from one API
- Self-hosted MTA — full control over deliverability
Migration Steps
1. Create Your Unosend Account
- Sign up at unosend.co/signup
- Add and verify your sending domain
- Generate an API key from the dashboard
2. Update Your API Key
Replace your Resend API key with your Unosend key:3. Update the Base URL
4. Update Your Code
- Node.js
- Python
- cURL
Before (Resend):After (Unosend):The request body is identical — only the import and API key change.
5. Update DNS Records
Remove Resend’s DNS records and add Unosend’s:| Type | Name | Value |
|---|---|---|
| TXT | unosend._domainkey | Your DKIM public key (from dashboard) |
| MX | send | 10 mail.unosend.co |
| TXT | send | v=spf1 include:_spf.unosend.co ~all |
API Compatibility
| Feature | Resend | Unosend | Notes |
|---|---|---|---|
| Send email | POST /emails | POST /v1/emails | Same body format |
| Get email | GET /emails/{id} | GET /v1/emails/{id} | Same response |
| Batch send | POST /emails/batch | POST /v1/emails/batch | Same body format |
| Domains | /domains | /v1/domains | Same CRUD |
| API keys | /api-keys | /v1/api-keys | Same CRUD |
| Audiences | /audiences | /v1/audiences | Same CRUD |
| Contacts | /audiences/{id}/contacts | /v1/contacts | Slightly different path |
| Webhooks | Svix-based | Native | Different webhook format |
Pricing Comparison
| Emails/Month | Resend | Unosend | Savings |
|---|---|---|---|
| 5,000 | Free | Free | — |
| 50,000 | $40/mo | $20/mo | 50% |
| 100,000 | $80/mo | $50/mo | 37% |
| 500,000 | Custom | $340/mo | — |
| 1,000,000 | Custom | $600/mo | — |
Quick Start Guide
Get sending in under 5 minutes