Documentation Index
Fetch the complete documentation index at: https://docs.unosend.co/llms.txt
Use this file to discover all available pages before exploring further.
1. Create an Account
Sign up at unosend.co/signup. Free plan includes 5,000 emails/month (200/day).
2. Get Your API Key
Go to API Keys in your dashboard and create a key. It starts with un_.
3. Add a Domain
Go to Domains and add your sending domain. Add the DNS records shown, then verify.
# Add domain
curl -X POST https://api.unosend.co/v1/domains \
-H "Authorization: Bearer un_your_api_key" \
-H "Content-Type: application/json" \
-d '{"domain": "yourdomain.com"}'
# Verify after adding DNS records
curl -X POST https://api.unosend.co/v1/domains/{id}/verify \
-H "Authorization: Bearer un_your_api_key"
4. Send an Email
curl -X POST https://api.unosend.co/v1/emails \
-H "Authorization: Bearer un_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"from": "hello@yourdomain.com",
"to": ["user@example.com"],
"subject": "Hello from Unosend",
"html": "<h1>Welcome!</h1><p>Your first email.</p>"
}'
Response:
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"from": "hello@yourdomain.com",
"to": ["user@example.com"],
"status": "queued"
}
Next Steps
Domain Verification
Set up SPF, DKIM, and DMARC
API Reference
See all endpoints