Skip to content
CirrusDocs

Developer documentation

Send email from your code.

One API for receipts, password resets and everything else your product has to say. Verify a domain, send a message, and be told what happened to it.

Send your first email
curl -X POST https://api.cirrusmail.example/v1/emails \
  -H "Authorization: Bearer $CIRRUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Shop <orders@shop.example>",
    "to": "ann@example.org",
    "subject": "Your order is on its way",
    "text": "Thanks for your order."
  }'

# 202 Accepted
# {"data": {"id": "b3c1f5a4-…", "status": "queued", …}}

Where to start

Cirrus is still being built

The API, the four client libraries and these pages describe what the code does today. The production address and the package registries are not open yet, so samples use the names the code is built with. Anything the developer API cannot do is said so on the page where you would look for it.

About the libraries