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 keyStep 1
Sign in at https://app.postgrid.com
Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| PostGrid API Key | Your PostGrid API key from app.postgrid.com | Yes | live_sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
Available Actions
create_contact — Create a new contact in PostGrid
create_contact — Create a new contact in PostGrid
Parameters
The first name of the contact
The last name of the contact
The contact’s company name
The contact’s first address line
The contact’s second address line
The contact’s city
The province or state of the contact
The contact’s email address
The contact’s phone number
The contact’s job title
The postal code or ZIP code of the contact
ISO 3166-1 country code of the contact’s address. Defaults to CA (Default:
CA)A description for the contact
If true, skip address verification and mark the address as failed
Response
create_letter — Create a new letter in PostGrid
create_letter — Create a new letter in PostGrid
Parameters
The ID or contact object of the receiver
The ID or contact object of the sender
The HTML content of the letter
Location where the address will be placed. One of: top_first_page, insert_blank_page
Whether the letter is double sided
Whether the letter will be printed in color
Page number to be perforated
Extra services for the letter. One of: certified, certified_return_receipt, registered
Envelope type. One of: standard_double_window, flat
The ID of the return envelope to be used
Desired date for the letter to be sent out (ISO 8601 format)
A description for the letter
Whether to use express shipping
Mailing class. One of: standard_class, first_class. Defaults to first_class
Letter size. One of: us_letter, us_legal, a4
Response
create_postcard — Create a new postcard in PostGrid
create_postcard — Create a new postcard in PostGrid
Parameters
The ID or contact object of the receiver
The ID or contact object of the sender
The HTML content for the front of the postcard
The HTML content for the back of the postcard
Postcard size. One of: 6x4, 9x6, 11x6
Desired date for the postcard to be sent out (ISO 8601 format)
Whether to use express shipping
A description for the postcard
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+errorrather than raising.