Connect our REST API with your platform to trigger mailings without a print infrastructure.
Direct Mail API Sample Requests for Different Programming Languages
Easily complete actions using your preferred languages to integrate our API into your tech stack.
- Create Letter
- Create Letter With Template
- Create Letter With Template and Attached PDF
- Create Letter With PDF
- List Letters
- Cancel Letter
cURL
Loading
cURL
Loading
cURL
Loading
cURL
Loading
cURL
Loading
cURL
Loading
Benefits of Direct Mail API
- Fully Automated
- Enterprise-Grade Security
- Faster Turnaround
- Best-in-Class Pricing
- Omnichannel Campaigns
- Campaign Insights
- Better Data Quality
Fully Automated
Trigger physical communications using CRM events or launch campaigns whenever needed, whether you want to send welcome letters, marketing postcards, reimbursement cheques, monthly statements, invoices, or anything else.
Enterprise-Grade Security
Keep your customer and organisation data secure and confidential while getting access to detailed audit logs.
Faster Turnaround
Set up campaigns in minutes, not months. Unlock our 2-day industry-leading SLA to launch and execute physical communications in a short timeline.
Best-in-Class Pricing
Print and mail transactional, compliance, and marketing communications at transparent, competitive prices.
Omnichannel Campaigns
Combine direct mail with online marketing channels by integrating PostGrid into your marketing CRMs, like HubSpot, Salesforce, and more.
Campaign Insights
Know how well campaigns performed and what can be changed by accessing detailed reports and analytics for all mailings.
Better Data Quality
Always send mailings to correct, updated addresses to reduce returned items and save on reshipping expenses.
Select the Right Format for Every Campaign
Create, print, and mail different mail collateral using a single API or dashboard
Postcards
Letters
Checks
Self-Mailers
Plastic Card Inserts
Snap Packs
Built-in Compliance for Regulated Industries
Automate physical communications while maintaining strict Australian regulatory compliance.
PHIPA
Safeguard PHI with strict access controls and healthcare-grade protection
SOC 2 Type 2
Third-party validated controls & SOC 2 report available under NDA
PIPEDA
Canadian privacy compliance to meet federal data protection standards
GDPR
Full support for EU data protection guidelines and user rights
From API Call to Mailbox in Three Moves
Our Direct Mail API can turn your CRM events into an end-to-end Print & Mail process, covering creation, printing, and delivery altogether.
Connect
Integrate our REST API into your CRM using our detailed API docs.
Trigger
Set up campaigns via API calls whenever needed. Millions of API requests can be processed simultaneously.
Print and Deliver
Create and send physical communications online without manual intervention. Stay updated with real-time tracking webhooks.
Direct Mail API Integrations for Your Tech Stack
You can connect our API with your platform to trigger physical communications from your existing workflows.
ActiveCampaign
Bring direct mail into your marketing automation. Combine email, SMS, and physical communications into a single, coordinated experience, without ever leaving ActiveCampaign.
Integrates with your favourite tech stack & tools
Easily Improve your workflow and automate print & mail through seamless integration capabilities.
Frequently Asked Questions
What Is a Direct Mail API?
It is a REST API that allows developers to programmatically create, print, and ship physical communications from their existing tech stack. They can use the API docs to integrate natively with popular platforms such as Salesforce, QuickBooks, HubSpot, Zapier, etc. Some Direct Mail APIs, like PostGrid, also enable custom integrations.
What Does a Direct Mail API Do?
It allows you to automate compliance, transactional, and marketing communications online. Thus, you don’t need to work with different vendors or handle manual tasks internally.
Is the Direct Mail API Ideal for Multiple Touchpoints or One-Time Mailings?
You can send any number of mail pieces you want for any number of events. You can set up triggers to print and send mailings to the same customers on different events, like post-deal close, customer milestones, inquiry actions, etc. Also, you can send bulk mailings to a contact list under a one-off campaign. The choice is yours; the Direct Mail API makes your vision possible.
What's the Most Dev-Friendly Direct Mail API?
PostGrid has a 5-star rating on G2, making it the best Direct Mail API for developers. It offers detailed API documentation in various programming languages, like Go, Java, Ruby, Node.js, and many more. Both test and live keys are available.
How Can PostGrid Be Integrated With HubSpot, Salesforce, or Another Platform?
There is no custom coding required to connect with these platforms, as you can integrate our Direct Mail API into them natively. Hence, you can trigger physical communications via our REST API from any CRM that can support outbound HTTP calls or Zapier/Make.
What Is the Delivery Timeline After an API Request Is Submitted?
You can have your mail items printed and handed over for delivery to Canada Post within two business days. Then, the delivery timeline depends on the mailing class you selected.
Does PostGrid's Direct Mail Comply With the My Health Records Act 2012?
Yes. PostGrid is My Health Records Act 2012 and SOC-2 Type 2-compliant. It is used by several regulated industries with signed Business Associate Agreements (BAAs).
Does PostGrid Allow Developers to Test Its Solutions Before Switching to Live Mode?
Yes. PostGrid provides a full-featured sandbox with test API keys for free. Thus, you can create different mail formats, like letters, postcards, and cheques, to see how it works, without actually printing and sending anything or getting billed.
How Can I Get Started With PostGrid’s Direct Mail API?
You can sign up and get your test API keys. You can leverage our quickstart guide and install an SDK to send your test postcard or letter in a few minutes. Our free tier includes full dashboard access and up to 100 test API requests.
Ready to Get Started?
Start transforming and automating your offline communications with PostGrid









