Skip to content

Introduction

PostStack is an EU-hosted email API: transactional sends, broadcasts, workflows and inbound mail, from code, over SMTP or through an AI agent. This page explains the pieces; the Quickstart sends your first email.

How sending works#

Every email you send goes through the same four steps, whichever interface you use:

  1. You verify a domain by publishing its SPF and DKIM records, so receiving servers can check the mail really is yours.
  2. You create an API key — full access, or sending-only and optionally restricted to one domain.
  3. You send over the REST API, an SDK, the SMTP relay or the MCP server. PostStack answers 202 Accepted with an em_… id and queues the message.
  4. Delivery, bounces, opens and clicks arrive as events — in the dashboard, on GET /emails/:id and as webhooks.

Ready to send?

The Quickstart takes you from a new account to a delivered email in about ten minutes, with the exact DNS records, request and response.

Base URL#

All API requests go to one host. Paths on these pages are relative to it — POST /emails means POST https://api.poststack.dev/emails.

text
https://api.poststack.dev

Requests and responses are JSON (Content-Type: application/json) over HTTPS. Timestamps are ISO 8601 in UTC. Resource ids are prefixed strings such as em_… for emails and dom_… for domains. All data is processed in the EU — see Data regions.

Ways to send#

InterfaceUse it when
REST APIYour code sends mail and wants the id back, events and safe retries.
SDKsTypeScript, Python or Go: typed calls with retries and idempotency built in.
SMTP relayYour framework, CMS or device already speaks SMTP — change the host and password only.
MCP serverAn AI assistant or agent should send, inspect or manage email for you.

Quickstarts#

Step-by-step setup for your language and framework, with SDK and SMTP variants:

Key concepts#

PageWhat it covers
EmailsSend, batch, schedule and cancel emails; read their status and events.
DomainsVerify the domains you send from with SPF, DKIM and DMARC records.
AuthenticationAPI keys with full or sending-only access, optionally restricted to one domain.
TemplatesReusable subjects and bodies with variables, sent by id.
WebhooksDelivery, bounce, open, click and inbound events pushed to your server.
SuppressionsAddresses PostStack will not send to after bounces, complaints and unsubscribes.
ContactsYour audience, organised with segments, properties and topics.
BroadcastsCampaigns to a segment, with A/B tests and scheduling.
WorkflowsAutomated sequences triggered by events.
Inbound emailReceive mail on your domain and get it as parsed JSON.
MailboxesHosted IMAP mailboxes for people, used from any mail client.
Email validationsCheck an address’s syntax, MX records and risk before you send.

Next steps

Was this page helpful?

Related