You need two things to send: an API key and a verified from address. Drin gives you a shared onboarding domain so you can send before touching DNS.Documentation Index
Fetch the complete documentation index at: https://drin.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Get an API key
Create one in the dashboard under API Keys.
The secret is shown once — store it somewhere safe, e.g. as
DRIN_API_KEY.New accounts get a key automatically during onboarding, already baked into
the in-dashboard snippets. This page is the version you can copy anywhere.
Send your first email
Every snippet hits the same contract: A
POST https://api.drin.run/v1/emails
with a from, a to array, and subject + html (or text).202 Accepted with a message id means it’s queued. PHP, Go, Java, C#,
Rust, Elixir, Kotlin, Swift and a no-code SMTP recipe are all in the
dashboard’s in-app quickstart too.Watch it land
Every send shows up on Email Activity
within seconds, with its full transit log — queued → sent → delivered →
opened. Or fetch it over the API:
GET /v1/emails/{id}.Send from your own domain
The shared onboarding domain runs in test mode — it can only deliver to
your own address. To email anyone from your own brand, verify a domain on the
Domains page (DKIM + SPF + DMARC, guided).
Then list your verified domains in code and use one as your
from:Account-wide keys (keys not scoped to a single project) must name the
sending project per request with the
X-Drin-Product: <project-id> header — or
the SDK’s sender option. Project-scoped keys don’t need it. See
Authentication.Next steps
Templates
Store reusable HTML with
{{merge}} variables and send by templateId.Receive email
Turn on receiving, create an inbox, and reply in-thread.
Webhooks
Get delivery, bounce, complaint, open and click events in real time.
Give an agent email
Wire the MCP server into Claude, Cursor, or your own agent.