RelayPost Documentation
Documentation
Explore guides and examples to integrate RelayPost into your application.
Send your first email
$ curl -X POST https://relaypost.dev/api/v1/emails/send \ -H "Authorization: Bearer rp_live_..." \ -H "Content-Type: application/json" \ -d '{ "from": {"email": "hi@yourapp.com"}, "to": [{"email": "user@example.com"}], "subject": "Welcome aboard", "html": "<h1>Hello!</h1>" }'Sending Email
Send via REST API or SMTP relay. Use templates with variable substitution.
- Send via API
- Send via SMTP
- Templates
Deliverability
Authenticate your domain with SPF, DKIM, and DMARC. Manage suppression lists.
- Domain verification
- SPF, DKIM & DMARC
- Suppression lists
Tracking & Events
Real-time delivery events via webhooks. Track bounces, opens, and complaints.
- Webhooks
- Email events
API Reference
Complete REST API docs. Endpoints, schemas, error codes, and rate limits.
- REST API reference
- Error codes
- Rate limits
Get started in 3 steps
2
Verify your domain
Add SPF and DKIM records to authenticate your sender domain.
3
Send an email
Make a POST request to /api/v1/emails/send and you are live.