Skip to content

PostStack documentation

Guides and API reference for sending, receiving and managing email with PostStack — over HTTP, SMTP, the SDKs or MCP.

Start here#

New to PostStack? This path gets a real email delivered and wired into your app:

  1. Send your first email

    Verify a domain, create a key and send — Quickstart.

  2. Authenticate properly

    Pick the right key permission and mode for each environment — Authentication and Test mode.

  3. Know what happened

    Get delivery, bounce and complaint events pushed to you — Webhooks.

  4. Make it production-safe

    Handle failures and retries — Errors, Rate limits and Idempotency.

API basics#

  • Base URL: https://api.poststack.dev. Request and response bodies are JSON.
  • Every request carries Authorization: Bearer <api key>.
  • Errors come back as { "error": "…" } with an HTTP status.
  • Lists page with page and per_page — Pagination.
bash
curl https://api.poststack.dev/domains \
  -H "Authorization: Bearer sk_live_…"

Getting started#

Sending#

Receiving#

Audience#

Configuration#

Reference#

Framework guides#

Copy-paste setup for your language or framework, over the SDK or SMTP: