Deploy MCP Server
Email & Messaging API Key

Postmark REST API

Transactional email delivery for web applications

Postmark is a fast and reliable transactional email service designed for web applications. It provides developers with powerful APIs to send application emails, track delivery, manage templates, and analyze email performance with detailed analytics. Postmark focuses on deliverability, speed, and developer experience with comprehensive webhooks and monitoring tools.

Base URL https://api.postmarkapp.com

API Endpoints

MethodEndpointDescription
POST/emailSend a single email message with optional attachments and tracking
POST/email/batchSend up to 500 email messages in a single API call
POST/email/withTemplateSend an email using a predefined template with dynamic content
POST/email/batchWithTemplatesSend multiple templated emails in a single batch request
GET/messages/outboundRetrieve a list of sent outbound messages with filters and pagination
GET/messages/outbound/{messageid}/detailsGet detailed information about a specific sent message including opens and clicks
GET/messages/inboundRetrieve inbound messages received by your server
GET/bouncesList bounced emails with filtering options by type and date range
GET/bounces/{bounceid}Get details about a specific bounce event
PUT/bounces/{bounceid}/activateActivate a bounced email address to allow future sending
GET/templatesList all email templates in your account with metadata
POST/templatesCreate a new email template with HTML and text versions
GET/templates/{templateIdOrAlias}Get a specific template by ID or alias including content and settings
PUT/templates/{templateIdOrAlias}Update an existing email template's content or settings
DELETE/templates/{templateIdOrAlias}Delete an email template permanently
POST/templates/validateValidate template syntax and test with sample data before sending
GET/stats/outboundGet outbound email statistics including sent, bounced, and opened counts
GET/stats/outbound/opensRetrieve detailed email open tracking statistics with platform breakdown
GET/stats/outbound/clicksGet click tracking statistics for links in sent emails
GET/deliverystatsAccess comprehensive delivery statistics and inbox placement data
GET/suppressions/dumpExport the complete suppression list for your server
POST/suppressionsAdd email addresses to the suppression list to prevent sending
DELETE/suppressions/{emailaddress}Remove an email address from the suppression list
GET/webhooksList all configured webhook endpoints for event notifications
POST/webhooksCreate a new webhook to receive real-time email event notifications

Code Examples

curl -X POST "https://api.postmarkapp.com/email" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-Postmark-Server-Token: your-server-token" \
  -d '{
    "From": "sender@example.com",
    "To": "recipient@example.com",
    "Subject": "Hello from Postmark",
    "TextBody": "This is a plain text message",
    "HtmlBody": "<html><body><h1>Hello!</h1><p>This is an HTML message</p></body></html>",
    "MessageStream": "outbound",
    "TrackOpens": true,
    "TrackLinks": "HtmlAndText"
  }'

Connect Postmark to AI

Deploy a Postmark MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Postmark through these tools:

send_email Send transactional emails with template support, tracking, and attachments through natural language requests
check_delivery_status Query email delivery status, opens, clicks, and bounce information for sent messages
manage_templates Create, update, list, and validate email templates with dynamic content variables
analyze_email_stats Retrieve and analyze email performance metrics including delivery rates, opens, and engagement
manage_suppressions Add, remove, and query email addresses on the suppression list to manage recipient preferences

Deploy in 60 seconds

Describe what you need, AI generates the code, and IOX deploys it globally.

Deploy Postmark MCP Server →

Related APIs