Trusted by 1000+ Customers

Direct Mail API Sample Requests for Different Programming Languages

Easily complete actions using your preferred languages to integrate our API into your tech stack.

cURL

Copy
Loading

cURL

Copy
Loading

cURL

Copy
Loading

cURL

Copy
Loading

cURL

Copy
Loading

cURL

Copy
Loading
Read Our Full Api Docs Here

Capabilities That Take Physical Communications to the Next Level

Leverage our advanced features that enable you to create, print, mail, and track within Australia and other countries. 

Native Integrations

Use zero-code integrations to seamlessly connect with your workflows

SDK Libraries

Integrate with modern SDKs in several programming languages

Standardized Templates

Leverage consistent and compliant HTML/PDF templates for mailings

Merge Variables

Incorporate variable data printing to personalise mail pieces

Test & Live Keys

Set up campaigns in test mode before switching to the live environment

Per-Piece Tracking

Benefit from real-time tracking to access delivery information

Print Delivery Network

Print and mail anywhere globally, but with local precision

Address Verification

Standardise & validate addresses for 245+ countries and territories

CSV Uploads

Organise address books by uploading CSV files with contact information

List Builder

Create targeted mailing address lists based on geo-demographics

Premium Paper

Improve the touch and feel of physical mail with high-quality paper

QR Codes & PURLs

Add these custom tracking elements to record mail attribution

Benefits of Direct Mail API

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.

01

Connect

Integrate our REST API into your CRM using our detailed API docs.

02

Trigger

Set up campaigns via API calls whenever needed. Millions of API requests can be processed simultaneously.

03

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.

HubSpot

Turn CRM activity into real-world engagement. Trigger personalised mail directly from HubSpot Workflows using contact properties and behavioural data.

Read More

Zapier

Connect physical mail to thousands of apps via Zapier; no code required. Build automated workflows that can print and send mail based on events in tools like Shopify, Google Sheets, Slack, or Typeform.

Read More

ActiveCampaign

Bring direct mail into your marketing automation. Combine email, SMS, and physical communications into a single, coordinated experience, without ever leaving ActiveCampaign.

Read More

Built for Australian Addressing, Postcodes, and Business Mail Operations

Verify mailing lists and scale mailing operations across Australia. 

AMAS Certified Verification

Verify and update mailing lists against the official Australia Post address database to cut undeliverable mail and boost delivery success.

Geographic Targeting

Target recipients by state, postcode, or region for hyper-personalised and geocentric campaigns.

Nationwide Coverage

Send physical mailers across all Australian states and territories through one centralised dashboard.

Integrates with your favourite tech stack & tools

Easily Improve your workflow and automate print & mail through seamless integration capabilities.

salesforce logo
PostGrid Marketo
Post Grid Eloqua
PostGrid Hubspot
sap
microsoft dynamic
activecampaign
insightly
keap
zoho
pipedrive
twilio
netsuit
close.io
zapier

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

SIGN UPREQUEST A DEMO