Trusted by 1000+ Customers

  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid

Direct Mail API Sample Requests for Different Programming Languages

Easily complete actions using the preferred languages to integrate the API into the 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 the U.S., Canada, 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 personalize mail pieces

Test & Live Keys

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

Per-Piece Tracking

Benefit from real-time IMB tracking to access delivery information

Print Delivery Network

Print and mail anywhere globally, but with local precision

Address Verification

Standardize & validate addresses for 245+ countries and territories

CSV Uploads

Organize address book 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, monthly statements, invoices, or anything else.

Enterprise-Grade Security

Keep your customer and organization 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

Enterprise-Grade Compliance and Data Security

HIPAA

PIPEDA

GDPR

SOC 2 TYPE 2

PCI-DSS

Data Encryption

Audit Logs

Role-Based Access Control

Secure Hosting on AWS

Single Sign-On

Third-Party Penetration Testing

Continuous Monitoring

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.

Trusted by Developers, Engineering, IT, Operations, & Marketing Teams

With a 5-star rating on G2, our Direct Mail API has been serving different industries, like fintech, healthcare, insurance, finance, and more.

Read the Case Study

Lumata Health

This care management platform used PostGrid to automate patient communications, ensuring the timely delivery of newsletters and high patient engagement.

Read the Case Study

Ecoflow

With an objective to boost website visits and product usage, it leveraged our Direct Mail API to engage customers where they are the most active.

Read the Case Study

AtoB

This financial services (logistics) organization incorporated our solution to improve efficiency, personalization, and deliverability for physical communications.

Direct Mail API Integrations for Your Tech Stack

Connect the API with the platform seamlessly to trigger physical communications from the existing workflows.

HubSpot

Turn CRM activity into real-world engagement. Trigger personalized mail directly from HubSpot Workflows using contact properties and behavioral 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

Integrates with Your Favorite 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 the USPS or Canada Post within two business days. Then, the delivery timeline depends on the mailing class you selected. For example, First-Class Mail typically takes one to five business days to arrive.

Does PostGrid's Direct Mail Comply With HIPAA?

Yes. PostGrid is HIPAA, PIPEDA, 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 checks, 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.

Featured In

Media & Press

Ready to Get Started?

Start transforming and automating your offline communications with PostGrid

SIGN UPREQUEST A DEMO