Skip to content

Postmark API API

by postmarkapp.com

No authHTTPSEmail
Open documentation ↗

Overview

Postmark makes sending and receiving email incredibly easy.

Postmark API is an email API from postmarkapp.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 43 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Email
Base URL
https://api.postmarkapp.com/
Version
1.0.0
Endpoints
43
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.postmarkapp.com/bounces" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://api.postmarkapp.com/bounces", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.postmarkapp.com/bounces",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/bouncesGet bounces
GET/bounces/{bounceid}Get a single bounce
PUT/bounces/{bounceid}/activateActivate a bounce
GET/bounces/{bounceid}/dumpGet bounce dump
GET/deliverystatsGet delivery stats
POST/emailSend a single email
POST/email/batchSend a batch of emails
POST/email/batchWithTemplatesSend a batch of email using templates.
POST/email/withTemplateSend an email using a Template
GET/messages/inboundInbound message search
PUT/messages/inbound/{messageid}/bypassBypass rules for a blocked inbound message
GET/messages/inbound/{messageid}/detailsInbound message details
PUT/messages/inbound/{messageid}/retryRetry a failed inbound message for processing
GET/messages/outboundOutbound message search
GET/messages/outbound/clicksClicks for a all messages
GET/messages/outbound/clicks/{messageid}Retrieve Message Clicks
GET/messages/outbound/opensOpens for all messages
GET/messages/outbound/opens/{messageid}Retrieve Message Opens
GET/messages/outbound/{messageid}/detailsOutbound message details
GET/messages/outbound/{messageid}/dumpOutbound message dump
GET/serverGet Server Configuration
PUT/serverEdit Server Configuration
GET/stats/outboundGet outbound overview
GET/stats/outbound/bouncesGet bounce counts
GET/stats/outbound/clicksGet click counts
GET/stats/outbound/clicks/browserfamiliesGet browser usage by family
GET/stats/outbound/clicks/locationGet clicks by body location
GET/stats/outbound/clicks/platformsGet browser plaform usage
GET/stats/outbound/opensGet email open counts
GET/stats/outbound/opens/emailclientsGet email client usage
GET/stats/outbound/opens/platformsGet email platform usage
GET/stats/outbound/sendsGet sent counts
GET/stats/outbound/spamGet spam complaints
GET/stats/outbound/trackedGet tracked email counts
GET/templatesGet the Templates associated with this Server
POST/templatesCreate a Template
POST/templates/validateTest Template Content
GET/templates/{templateIdOrAlias}Get a Template
PUT/templates/{templateIdOrAlias}Update a Template
DELETE/templates/{templateIdOrAlias}Delete a Template
GET/triggers/inboundrulesList inbound rule triggers
POST/triggers/inboundrulesCreate an inbound rule trigger
DELETE/triggers/inboundrules/{triggerid}Delete a single trigger

Questions

Does the Postmark API API need an API key?

No. The Postmark API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the Postmark API API support HTTPS?

Yes, the Postmark API API is served over HTTPS.

How many endpoints does the Postmark API API have?

Its OpenAPI description lists 43 endpoints in version 1.0.0. All of them are shown on this page.

What are alternatives to the Postmark API API?

Other Email APIs include Sendgrid, Sendinblue, mail.tm, Mandrill, Guerrilla Mail.

Compare alternatives →

Listed from APIs.guru (CC0).