Overview
Sendvaults is an email delivery platform built for developers and businesses. This documentation covers everything you need to integrate our API, set up your sending domain, and start delivering emails reliably.
🚀 Quick Start
Send your first email in under 5 minutes using our REST API.
🔑 Authentication
Learn how API keys work and how to keep them secure.
🌐 Domain Setup
Verify your sending domain for better deliverability.
Quick Start
Get up and running with Sendvaults in minutes. You'll need an API key from your dashboard.
1. Install via HTTP (REST API)
No SDK required. Send emails directly via our REST API:
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from":"hello@yourdomain.com","to":"user@example.com","subject":"Hello!","html":"<p>Welcome!</p>"}'
2. Using Node.js
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.SENDVAULTS_API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
from: 'hello@yourdomain.com',
to: 'user@example.com',
subject: 'Welcome to our app!',
html: '<h1>Welcome!</h1><p>Thanks for signing up.</p>'
})
});
Tip: Always store your API key as an environment variable. Never hardcode secrets in your source code.
Authentication
All API requests require authentication using a Bearer token. Generate and manage API keys from your Sendvaults dashboard.
API Key Header
Keep your API keys secure. Do not commit them to source control. Use environment variables or a secrets manager.
Domain Setup
To send emails from your own domain, you'll need to verify ownership and configure DNS authentication records.
Required DNS Records
- SPF — Authorizes Sendvaults servers to send on behalf of your domain.
- DKIM — Adds a cryptographic signature to verify email authenticity.
- DMARC — Defines how receivers handle failed authentication.
Once your domain is verified, emails sent through Sendvaults will appear to come from your brand, improving deliverability and trust.