Top Deliverability’s Blog
Postmark: Tutorial: how to retrieve large datasets with the Messages API and node.js
- May 28, 2023
- Posted by: Top Deliverability
- Category: ESPs Industry News Postmark
Postmark just shared another interesting post:
Messages API intro and overview The Messages API is a REST API that allows you to get details about any outbound or inbound messages that were processed through your Postmark server. The Messages API also supports search functionality through the use of query parameters. However, each search can only return up to 10,000 messages. If you need to retrieve message details for more than 10,000 messages, you will need to use search parameters to narrow down the results. This tutorial gives you two examples for breaking down larger sets of messages into chunks of less than 10,000 using node.js. The results will be exported as a CSV file that can be used for further searching and auditing. After completing this tutorial, you can use the provided code to write your own script to export outbound or inbound email message data from Postmark using the Messages API. Important consideration: The Messages
Read more: Tutorial: how to retrieve large datasets with the Messages API and node.js
P.S. Do you need help with Postmark? check our Email Service Provider Handbook or Ask for a Consultation
Leave a Reply Cancel reply
Email Service Providers Handbook
The most comprehensive “Handbook of Email Service Providers“!
SPAMASSASSIN RULES
All SpamAssassin rules in one place, EXPLAINED!
SMTP COMMANDS
& REPLY CODES
All SMTP/ESMTP commands and reply codes in one place, EXPLAINED!
Free DNS Tool
Check the DNS records of your domain with our free DNS tool.
Deliverability Glossary
The most comprehensive Email Deliverability and Marketing Glossary!