Operator Docs

PostMTA Operator Documentation

Everything you need to configure, operate, and scale your email infrastructure with PostMTA. PostMTA is a managed MTA (Mail Transfer Agent) appliance with an API-first design — you send email by calling the REST API, and PostMTA handles deliverability, reputation, encryption, and analytics.

What Is PostMTA?

PostMTA is a credit-gated managed email sending platform. Instead of operating your own mail server infrastructure, you integrate with the PostMTA API and let PostMTA handle:

Documentation Structure

The docs are organised into five groups:

GroupPagesWhat it covers
Getting StartedOverview, Quick Start, AuthenticationAccount setup, first send, API key creation
ConfigurationSending Domains, Webhooks, IP Pools, SubusersDomain verification, event delivery, dedicated IPs
SendingTemplates, Campaigns, Suppression Lists, Custom HeadersEmail creation, batch sends, unsubscribe management
ReportingAnalytics, Bounces, Spam TestingMetrics, bounce handling, pre-send spam scoring
ReferenceAPI Reference, SDKs, TLS & Security, Migration, Billing, ErrorsComplete technical reference

Quick Start

Quick Start →

Send your first email in under 5 minutes.

Getting Started
Authentication →

API keys, scopes, and access control.

Getting Started
Sending Domains →

Domain verification and DKIM/DMARC setup.

Configuration
Sending Email →

The Email API, batching, and priority queuing.

Configuration
Webhooks →

Real-time event delivery and retry logic.

Configuration
IP Pools →

Dedicated IPs, warm-up, and reputation management.

Configuration

API Base URL

https://api.postmta.com/v1

Send Your First Email

curl -X POST https://api.postmta.com/v1/messages/send \
  -H "Authorization: Bearer ***" \
  -H "Content-Type: application/json" \
  -d '{
    "from": {"address": "hello@yourdomain.com"},
    "to": [{"address": "recipient@example.com"}],
    "subject": "Welcome",
    "html": "<h1>Hello!</h1><p>Welcome to Example Co.</p>"
  }'

You should receive a 201 Created response with {'{'}'{'{'}'{'}'}'{'{'}'{'{'}'{'}'}'{'{'}'{'}'}'{'}'}"id": "msg_01HX...", "status": "queued"{'{'}'{'{'}'{'}'}'{'{'}'{'}'}'{'}'}'{'{'}'{'}'}'{'}'}. The email will be delivered within seconds.

Rate Limits by Plan

PlanRequests / minDaily emailsCredits per $
Starter6010,000667
Growth300100,0001,000
Scale1,000Unlimited1,667
EnterpriseCustomUnlimitedCustom

HTTP Status Codes

CodeMeaningRetry?
200SuccessNo
201CreatedNo
400Bad RequestNo
401UnauthorizedNo
403ForbiddenNo
404Not FoundNo
422Validation ErrorNo
429Rate Limit ExceededYes (after Retry-After)
500Internal Server ErrorYes (exponential backoff)
503Service UnavailableYes

Official SDKs

LanguagePackageInstall
Node.js / TypeScript@postmta/sdknpm install @postmta/sdk
Pythonpostmta-pythonpip install postmta-python
Gogithub.com/postmta/postmta-gogo get github.com/postmta/postmta-go
Rubypostmta-rubygem install postmta-ruby
PHPpostmta/phpcomposer require postmta/php
Javacom.postmta:postmta-javaMaven / Gradle dependency

Support and Status