Skip to content

RelayPost Documentation

Documentation

Explore guides and examples to integrate RelayPost into your application.

Send your first email
Terminal window
$ 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>"
}'
Auth
Bearer rp_live_…
Format
JSON

Get started in 3 steps

1

Create an API key

Sign up and generate an API key from the dashboard.

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.