Skip to content
Software capabilities
Postmark

How to search Postmark outbound messages

Use Postmark’s outbound-message search to investigate delivery activity by recipient, tag, status, or date. Use the Activity view for an operator who needs to inspect delivery records in the Postmark app.

Documentation reviewed · 2 methods with sources

Ways to do it

  1. API: GET /messages/outbound
  2. Interface: Postmark Activity
API

GET /messages/outbound

Search outbound messages by recipient, status, tag, date, or message stream. The default stream is outbound.

Read source: Postmark Messages API
Requirements
A Postmark server API token in X-Postmark-Server-Token and an Accept: application/json header.
Limitations
count is capped at 500 per request, and count plus offset cannot exceed 10,000. Messages expire after the server retention period, 45 days by default and configurable from 7 to 365 days.

Example shell

curl --fail --get 'https://api.postmarkapp.com/messages/outbound' \
  --data-urlencode 'recipient=user@example.com' \
  --data-urlencode 'count=50' \
  --data-urlencode 'offset=0' \
  --header 'Accept: application/json' \
  --header "X-Postmark-Server-Token: $POSTMARK_SERVER_TOKEN"
Interface

Postmark Activity

Open the message stream’s Activity view and search by recipient or tag. Open a message to see delivery events.

Read source: Postmark Manual: Activity and Statistics
Requirements
A Postmark account user with access to the relevant server and its Activity view.
Limitations
Sent message activity is retained for 45 days by default and can be configured for 7 to 365 days. Bounces and spam complaints are retained indefinitely.

Example text

Postmark → Server → Message Stream → Activity → search for user@example.com