Skip to main content
PostGrid logo

Overview

Add PostGrid to any ModuleX agent or workflow. Programmatic direct mail delivery via the PostGrid Print & Mail API (api.postgrid.com/print-mail/v1).
Categories: Marketing & Advertising · Marketing · Business Services · Auth: API Key · Actions: 3

Authentication

API Key Authentication

Authenticate using your PostGrid API key
1

Step 1

2

Step 2

Navigate to ‘Settings’ > ‘API Keys’
3

Step 3

Copy your live or test API key
4

Step 4

Paste the API key below

Required Credentials

Available Actions

Parameters

string
required
The first name of the contact
string
The last name of the contact
string
The contact’s company name
string
required
The contact’s first address line
string
The contact’s second address line
string
The contact’s city
string
The province or state of the contact
string
The contact’s email address
string
The contact’s phone number
string
The contact’s job title
string
The postal code or ZIP code of the contact
string
ISO 3166-1 country code of the contact’s address. Defaults to CA (Default: CA)
string
A description for the contact
boolean
If true, skip address verification and mark the address as failed

Response

Parameters

string
required
The ID or contact object of the receiver
string
required
The ID or contact object of the sender
string
required
The HTML content of the letter
string
Location where the address will be placed. One of: top_first_page, insert_blank_page
boolean
Whether the letter is double sided
boolean
Whether the letter will be printed in color
integer
Page number to be perforated
string
Extra services for the letter. One of: certified, certified_return_receipt, registered
string
Envelope type. One of: standard_double_window, flat
string
The ID of the return envelope to be used
string
Desired date for the letter to be sent out (ISO 8601 format)
string
A description for the letter
boolean
Whether to use express shipping
string
Mailing class. One of: standard_class, first_class. Defaults to first_class
string
Letter size. One of: us_letter, us_legal, a4

Response

Parameters

string
required
The ID or contact object of the receiver
string
required
The ID or contact object of the sender
string
required
The HTML content for the front of the postcard
string
required
The HTML content for the back of the postcard
string
required
Postcard size. One of: 6x4, 9x6, 11x6
string
Desired date for the postcard to be sent out (ISO 8601 format)
boolean
Whether to use express shipping
string
A description for the postcard
string
Mailing class. One of: standard_class, first_class. Defaults to first_class

Response

Limits & Quotas

  • No publicly documented rate limits. PostGrid applies per-account request limits based on plan tier.
  • Sending physical mail incurs per-item costs based on the PostGrid pricing plan.
  • Error model: non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.

Ahrefs

Google Ad Manager

Google Ads