The Fastest Way to Add REST based Direct Mail to Your Stack – No Print Ops Required.
✓ Automate, personalize and scale your direct mail program with game-changing Postalytics features.
✓ Personalize & track mail at scale for higher engagement and ROI.
✓ Seamless integration with your existing tech stack.
✓ SDK’s in multiple languages to speed up your development process.
✓ Multi-tenant environment with margin on each mailer & white-label options.
View API Docs Get a Free Account & API Key
No credit card required


The Direct Mail REST API is designed to get you started quickly. Send your first mailer with just a few lines of code using robust SDK’s or direct HTTPS calls.
Leverage the power of the industry-leading Postalytics direct mail automation platform without becoming a direct mail expert.
Mock and dev environments let you catch errors, validate workflows, and test performance—before you trigger a real-world print job. It’s like unit testing your way to the mailbox.
Whether you’re integrating Postalytics into a CRM, marketing automation, data platform or a custom application, the Direct Mail API provides all the tools you need for efficient & scalable direct mail marketing.
Take advantage of the class leading Postalytics direct mail automation infrastructure for mailing throughout the U.S. and Canada
Send personalized, automated postcards, letters, self-mailers anywhere in the United States and Canada.
Create, retrieve, update, and manage accounts programmatically.
Design and manage mail piece templates using HTML or image-based designs
dd, update, retrieve, and manage lists and contacts.
Create, manage and track the mailing and response for automated direct mail campaigns.
Retrieve all events for campaigns and contacts in any campaign.
Launch & manage multi-touch Flows and easily enroll/unenroll contacts to/from the flow
Enable real-time event notifications and pre-built integrations with third-party CRMs & other applications.
Programmatically created authenticated links to auto login users from your third-party application
Create, update and manage suppression lists for efficiency & savings
Get the details of a specific campaign
Update and manage campaign status for testing and deployment
The Postalytics direct mail API offers fully maintained SDKs in popular languages like Python, Node, Rust, Java, Go, and C#—so you can skip boilerplate and focus on building features. Each SDK includes complete support for our API endpoints, with methods and models that match our documentation exactly.
✓ Reduce repetitive code with native functions for authentication, campaign setup, mailpiece submission & tracking.
✓ Catch errors earlier with built-in request validation and predictable response handling.
✓ Stay up to date with SDKs that evolve automatically as the Postalytics API grows – no manual patching or maintenance required.
Whether you’re prototyping or scaling, the SDKs help you get production-ready faster – with fewer surprises along the way.


Combine the direct mail API with the Postalytics Agency Edition to enable multiple client accounts in your automated direct mail workflows. Key features include:
✓ Unlimited Client Accounts – programmatically generate client accounts for scalable management of campaigns & billing.
✓ Margin management Add markup to client mailings & receive payouts automatically.
✓ Credit distribution Purchase direct mail credits in bulk and distribute them into client accounts.
✓ Creative control & distribution Manage creative options for clients with template management tools.
Only Postalytics gives you the tools you need to manage automated direct mail workflows in a multi-client environment.
Express Windows are embeddable, white-labeled Postalytics components that handle the complex, visual workflows of direct mail—so your developers don’t have to.
Instead of building your own front-end to support creative setup, list management, campaign configuration, and analytics, you can drop in secure, prebuilt UI elements that live inside your app and carry your brand.
With Express Windows, your users can:
✓ Design and proof creative templates using the full Postalytics editor.
✓ Launch campaigns via guided workflows that match your campaign structure.
✓ View dashboards and analytics for all campaigns—no API calls needed.
✓ Manage mailing lists with pre-built import tools, segmentation, and validation.
Why it matters: Express Windows reduce development time, eliminate front-end complexity, and accelerate your time to market—all while delivering a polished, consistent user experience.

Q: What can I actually do with the Postalytics Direct Mail API?
A: More than you’d expect from a direct mail API. The Postalytics API lets you programmatically manage direct mail campaigns, contacts, templates, and integrations end to end. That means you can send personalized postcards, letters, and self-mailers to addresses across the U.S. and Canada; create and manage mailer templates using HTML or image-based designs; handle contact and mailing list management; launch and track campaigns; enroll contacts in multi-step Flow campaigns; and set up webhooks for real-time event notifications. If you want to trigger a mail piece the moment a lifecycle event fires in your CRM, automate a multi-touch drip sequence, or build direct mail into a SaaS platform, the API supports all of it.
Q: How hard is it to get started?
A: Not hard at all. Postalytics offers fully maintained SDKs in popular languages including Python, Node, Rust, Java, Go, and C#, so you can skip boilerplate and focus on building features. Each SDK maps directly to the API documentation, with built-in request validation and predictable response handling to surface errors early. Mock and dev environments let you catch errors, validate workflows, and test performance before triggering a real-world print job — essentially unit testing your way to the mailbox. For most developers, sending a first mailer takes a few lines of code, not days of setup.
Q: Does the API support multi-touch campaigns, or just one-off sends?
A: It supports both, but the multi-touch capability is where Postalytics stands apart from most direct mail APIs. Platforms that support rules-based, multi-step direct mail workflows enable direct mail to function like a modern marketing channel rather than a static print tactic. With Postalytics Flows, you can enroll a contact into a pre-built multi-step campaign — the same way email automation tools handle drip sequences — and the platform manages timing, sequencing, and execution from there. Flow Campaigns have cut the time marketers spend on multi-touch direct mail campaigns by as much as 80%. Most competing APIs require custom engineering to approximate this. Postalytics builds it in natively.
Q: We manage multiple clients, business units or brands. Can the API handle that?
A: Yes, and this is one of the most significant differentiators in the Postalytics API. The multi-tenant architecture supports sub-account creation via API, with each account having unique keys, dashboards, and permissions — along with per-tenant creative assets, templates, contact lists, and campaigns. You can set margin percentages per client and have payouts handled automatically, distribute direct mail credits from a central pool, and maintain fully separate suppression lists per account. Every pixel of the experience can carry your brand — from the login screen to the USPS tracking page — so your clients never see Postalytics. For agencies, SaaS platforms, and franchise organizations, this eliminates the need to build and maintain custom multi-tenancy from scratch.
Q: How does tracking and attribution work through the API?
A: Tracking is real-time and built into the infrastructure. Each webhook payload includes timestamps for printing, processing, in-transit scans, delivery, and any QR or URL hits — data you can surface in dashboards next to email and SMS KPIs. USPS Intelligent Mail Barcode tracking is standard, and personalized QR codes and URLs can be mapped to individual contacts for response tracking. Postalytics connects natively to Salesforce, HubSpot, and ActiveCampaign, so delivery and engagement events push straight into your CRM the moment they happen. That means direct mail attribution lives in the same system as the rest of your campaign data — no manual reconciliation, no guesswork.
End to end direct mail automation
Flexible contracts & simplified budgeting
3,000+ integrations
Discover 3,000+ direct mail integrations developed to help marketers
Put your direct mail on autopilot and start scaling your marketing operation