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
- Quick startCreate a key, verify a domain, send an email and receive a webhook, with curl or a library.
- AuthenticationAPI keys, scopes, and the difference between live and test keys.
- Sending emailEvery field, templates, batches, and how to follow a message to its end.
- WebhooksBe told about deliveries, bounces and complaints, and check each call's signature.
- Client librariesJavaScript, Python, PHP and Go: retries, idempotency and error types built in.
- API referenceEvery operation, field and answer, generated from the API's own description.
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.