Start with the quickstart, then go as deep as you need.
New API key
Name
production
Scope
send
Create key
Key created
Scoped
Shown once
Create an API keyName it, choose a scope and copy the key once.
Request
POST /v1/send
{ "to": "you@example.com",
"subject": "Hello" }
Response
202 Accepted
{ "id": "msg_[id]" }
Copy and run
202 Accepted
cURL ready
202
Send your first emailOne request and a message is on its way.
SDKs
Node
Python
PHP
Go
PHP
import migosmtp
c = migosmtp.Client("KEY")
c.send(to="you@example.com")
Sent · 202
Typed
Open source
Use your languageOfficial SDKs for popular stacks.
Key scopes
Send emailAllowed
Read eventsAllowed
Manage domainsAdmins only
Rate limit[n] req/s
Scoped
Revocable
Least-privilege keysLimit each key to what it needs.
Events
Signed events
/events
200 OK
Analytics
200 OK
Alerts
200 OK
Signed
Retries
Receive eventsSigned events post to your endpoint.
Docs assistant
AI
Send an email with Node and a template
search_docs("node template") → 3 pages
build_snippet(lang=node) → ready
Use client.send with a template id.
Snippet and API reference are below.
Send API
Templates
Node SDK
Snippets included
Links to source
Ask the docs, get working codeThe docs assistant answers in your language and framework, with a snippet you can copy. Every answer links back to the exact page it used.