PostGrid Print & Mail integration
PostGrid Print & Mail sends physical mail by API: letters, postcards, self-mailers, snap packs, cheques and boxes of cheques, from HTML, templates or PDF URLs, to contacts or whole mailing lists through campaigns. Manage contacts, templates, bank accounts for cheques, mailing lists and CSV imports, targeted US list builds, virtual mailboxes and partner sub-organizations; read order status, tracking and PDF previews. With a live API key every order is printed, mailed and billed; a test key works in an isolated sandbox where nothing is sent. Not exposed: webhooks, trackers, return envelopes and events (the current reference documents no operations for them), creating sub-organization users (needs a password), listing editor session links, and the deposit-ready PDF of digital cheques; bank account numbers and signature images are left out of answers. Authentication is your test or live API key (dashboard Settings) sent in the X-API-Key header.
Say what should happen.
The workflow builds itself.
What you can do with PostGrid Print & Mail
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Progression, 6 operations
simulate_box_progressSimulate box progressPOSTTest mode only: moves a test box to its next status to simulate a live order. Fails once it is completed or cancelled.simulate_cheque_progressSimulate cheque progressPOSTTest mode only: moves a test cheque to its next status to simulate a live order. Fails once it is completed or cancelled.simulate_letter_progressSimulate letter progressPOSTTest mode only: moves a test letter to its next status (for example ready to printing) to simulate a live order. Fails once it is completed or cancelled.simulate_postcard_progressSimulate postcard progressPOSTTest mode only: moves a test postcard to its next status to simulate a live order. Fails once it is completed or cancelled.simulate_self_mailer_progressSimulate self mailer progressPOSTTest mode only: moves a test self-mailer to its next status to simulate a live order. Fails once it is completed or cancelled.simulate_snap_pack_progressSimulate snap pack progressPOSTTest mode only: moves a test snap pack to its next status to simulate a live order. Fails once it is completed or cancelled.
Campaign, 5 operations
create_campaignCreate campaignPOSTCreates a draft campaign: one mailing list plus one mail piece configuration (letter, postcard, cheque, self-mailer or snap pack) for bulk mail. Nothing is sent until send_campaign.delete_campaignDelete campaignDELETEDeletes a campaign in draft, changes_required or ready status, with its associated resources. Cannot be undone.get_campaignGet campaignGETReturns one campaign: status, mailing list, mail piece configuration, created order count, send date, errors and temporary preview and report links.list_campaignsList campaignsGETLists campaigns with their status, mailing list, mail piece configuration and order counts. Page with skip and limit.update_campaignUpdate campaignPOSTUpdates a campaign in draft or changes_required status (description, mailing list, sender, mail piece); it is then reprocessed. Setting one mail piece type replaces the other.
Mailing list, 5 operations
create_mailing_listCreate mailing listPOSTCreates an empty mailing list; fill it with run_mailing_list_job from imports or contact ids.delete_mailing_listDelete mailing listDELETEDeletes a mailing list and its associations. Cannot be undone.get_mailing_listGet mailing listGETReturns one mailing list: status (completed when a job can run) and errors.list_mailing_listsList mailing listsGETLists mailing lists with their status and errors. Page with skip and limit.update_mailing_listUpdate mailing listPOSTUpdates a mailing list's description or metadata. Leave out what you keep.
Mailing list import, 5 operations
create_mailing_list_importCreate mailing list importPOSTImports a CSV file of contacts (a public URL or the base64 content), mapping its columns to address fields; the rows are verified asynchronously (status validating, then completed).delete_mailing_list_importDelete mailing list importDELETEDeletes a mailing list import and its resources. Cannot be undone.get_mailing_list_importGet mailing list importGETReturns one mailing list import: status, valid and invalid row counts, verification counts, errors and a temporary report link.list_mailing_list_importsList mailing list importsGETLists mailing list imports with their status, valid and invalid row counts and verification counts. Page with skip and limit.update_mailing_list_importUpdate mailing list importPOSTUpdates a mailing list import's description or metadata. Leave out what you keep.
Targeted list build, 5 operations
create_targeted_list_buildCreate targeted list buildPOSTStarts a targeted mailing list build for US consumers or US companies by ZIP codes and filters; a price quote is computed asynchronously (status quote_ready). Nothing is charged until confirm_targeted_list_build.delete_targeted_list_buildDelete targeted list buildDELETEDeletes a targeted list build that is not confirmed yet.get_targeted_list_buildGet targeted list buildGETReturns one targeted list build: status, filters, quote (count and price per contact in cents), masked preview records, progress and the built mailing list id.list_targeted_list_buildsList targeted list buildsGETLists targeted list builds, most recently updated first, with their status, filters and quote (count and price per contact in cents). Page with skip and limit.update_targeted_list_buildUpdate targeted list buildPOSTUpdates the filters, limit, description or metadata of a list build that is not confirmed yet; a new quote is computed.
Template, 5 operations
create_templateCreate templatePOSTCreates an HTML template with {{variable}} placeholders, reusable by letters, postcards, self-mailers and campaigns. Templates for PostGrid's visual editor are created in the dashboard.delete_templateDelete templateDELETEDeletes a template. Cannot be undone.get_templateGet templateGETReturns one template with its HTML, description and metadata.list_templatesList templatesGETLists templates: id, description, HTML and metadata. Page with skip and limit; filter with search.update_templateUpdate templatePOSTUpdates a template's HTML, description or metadata. Leave out what you keep.
Bank account, 4 operations
create_bank_accountCreate bank accountPOSTAdds a bank account that cheques are drawn on: US (accountNumber, routingNumber) or Canadian (accountNumber, transitNumber, routeNumber), with signatureText or signatureImage (one is required).delete_bank_accountDelete bank accountDELETEDeletes a bank account; cheques can no longer be drawn on it. Cannot be undone.get_bank_accountGet bank accountGETReturns one bank account for cheques: bank name and address, country, routing or transit numbers and signature text. The account number and signature image are not returned.list_bank_accountsList bank accountsGETLists your bank accounts for cheques: bank name and address, country, routing or transit numbers and signature text. Account numbers and signature images are not returned.
Box, 4 operations
cancel_boxCancel boxDELETECancels a box of cheques by id (only possible before it starts printing). Cannot be undone.create_boxCreate boxPOSTCreates a box of up to 100 cheques mailed together to one destination. With a live API key it mails real, payable cheques and is billed; with a test key it is never sent.get_boxGet boxGETReturns one box of cheques: status, destination and sender (personal data), the cheques inside, tracking number when there is one, and PDF preview url.list_boxesList boxesGETLists boxes of cheques: status, destination and sender (personal data), the cheques inside, send date and PDF preview link. Page with skip and limit.
Cheque, 4 operations
cancel_chequeCancel chequeDELETECancels a cheque by id (only possible before it starts printing). Cannot be undone.create_chequeCreate chequePOSTCreates a cheque drawn on one of your bank accounts (amount in cents) and queues it for printing and mailing. With a live API key it mails a real, payable cheque and is billed; with a test key it is never sent. A digitalOnly cheque is never mailed.get_chequeGet chequeGETReturns one cheque: status, payee and sender addresses (personal data), amount in cents, currency, number, memo, bank account id, send date and PDF preview url (account number censored).list_chequesList chequesGETLists cheques: status, payee and sender (personal data), amount in cents, cheque number, bank account id, send date and PDF preview link. Page with skip and limit.
Contact, 4 operations
create_contactCreate contactPOSTCreates a contact (a mailing address, with a person's or company's name). With a live key the address is verified and corrected; give firstName, companyName or both. Personal data.delete_contactDelete contactDELETEDeletes a contact. Orders already sent to it keep their copy of the address.get_contactGet contactGETReturns one contact: name, company, address, email and phone (personal data), and its address verification status (verified, corrected or failed) with any errors.list_contactsList contactsGETLists contacts (names, addresses, email and phone: personal data) with their address verification status. Page with skip and limit; search matches any text in a contact.
Letter, 4 operations
cancel_letterCancel letterDELETECancels a letter by id (only possible before it starts printing). Cannot be undone; cancel_letter_with_note does the same and records why.create_letterCreate letterPOSTCreates a letter from HTML, a template id or a PDF URL and queues it for printing. With a live API key this prints and mails it and is billed; with a test key it is never sent.get_letterGet letterGETReturns one letter: status (ready, printing, processed_for_delivery, completed, cancelled), recipient and sender addresses (personal data), tracking number when there is one, send date and PDF preview url.list_lettersList lettersGETLists letters: status, recipient and sender (names and addresses: personal data), mailing class, send date and PDF preview link. Page with skip and limit; filter with search.
Postcard, 4 operations
cancel_postcardCancel postcardDELETECancels a postcard by id (only possible before it starts printing). Cannot be undone.create_postcardCreate postcardPOSTCreates a postcard (6x4, 9x6 or 11x6) from front and back HTML, template ids or a 2-page PDF URL and queues it for printing. With a live API key this prints and mails it and is billed; with a test key it is never sent.get_postcardGet postcardGETReturns one postcard: status, size, recipient and sender addresses (personal data), tracking details when there are any, send date and PDF preview url.list_postcardsList postcardsGETLists postcards: status, size, recipient and sender (personal data), send date and PDF preview link. Page with skip and limit; filter with search.
Self mailer, 4 operations
cancel_self_mailerCancel self mailerDELETECancels a self-mailer by id (only possible before it starts printing). Cannot be undone.create_self_mailerCreate self mailerPOSTCreates a self-mailer (folded mail piece) from inside and outside HTML, template ids or a 2-page PDF URL and queues it for printing. With a live API key this prints and mails it and is billed; with a test key it is never sent.get_self_mailerGet self mailerGETReturns one self-mailer: status, size, recipient and sender addresses (personal data), send date and PDF preview url.list_self_mailersList self mailersGETLists self-mailers: status, size, recipient and sender (personal data), send date and PDF preview link. Page with skip and limit; filter with search.
Snap pack, 4 operations
cancel_snap_packCancel snap packDELETECancels a snap pack with status ready. Cannot be undone.create_snap_packCreate snap packPOSTCreates a snap pack (sealed pressure mailer) from inside and outside HTML, template ids or a 2-page PDF URL and queues it for printing. With a live API key this prints and mails it and is billed; with a test key it is never sent.get_snap_packGet snap packGETReturns one snap pack: status, size, recipient and sender addresses (personal data), send date and PDF preview url.list_snap_packsList snap packsGETLists snap packs: status, size, recipient and sender (personal data), send date and PDF preview link. Page with skip and limit; filter with search.
Url, 4 operations
get_cheque_preview_urlGet cheque preview urlGETReturns the PDF preview url of one cheque. Only for accounts with PostGrid's document management add-on; it allows far more calls than get_cheque.get_letter_preview_urlGet letter preview urlGETReturns the PDF preview url of one letter. Only for accounts with PostGrid's document management add-on; it allows far more calls than get_letter, for customer-facing pages.get_postcard_preview_urlGet postcard preview urlGETReturns the PDF preview url of one postcard. Only for accounts with PostGrid's document management add-on; it allows far more calls than get_postcard.get_self_mailer_preview_urlGet self mailer preview urlGETReturns the PDF preview url of one self-mailer. Only for accounts with PostGrid's document management add-on; it allows far more calls than get_self_mailer.
Cancellation, 3 operations
cancel_cheque_with_noteCancel cheque with notePOSTCancels a cheque with status ready and records a note saying why. Cannot be undone.cancel_letter_with_noteCancel letter with notePOSTCancels a letter with status ready and records a note saying why. Cannot be undone.cancel_postcard_with_noteCancel postcard with notePOSTCancels a postcard with status ready and records a note saying why. Cannot be undone.
Item, 3 operations
create_test_virtual_mailbox_itemCreate test virtual mailbox itemPOSTTest mode only: creates a fake received item in a test virtual mailbox; fails in live mode.get_virtual_mailbox_itemGet virtual mailbox itemGETReturns one item a virtual mailbox received: scan PDF link and the letter it was matched to. Scans can show personal data.list_virtual_mailbox_itemsList virtual mailbox itemsGETLists the mail items a virtual mailbox received: scan PDF link and the letter each was matched to. Scans can show personal data.
Virtual mailbox, 3 operations
create_virtual_mailboxCreate virtual mailboxPOSTRequests a US virtual mailbox that receives returned mail, scans envelopes and can forward mail. In live mode it stays pending until PostGrid activates it; in test mode it is active at once.get_virtual_mailboxGet virtual mailboxGETReturns one virtual mailbox: status, country and capabilities (envelope scans, forwarding contact).list_virtual_mailboxesList virtual mailboxesGETLists virtual mailboxes with their status and capabilities. Page with skip and limit; filter with search.
Sub organization, 2 operations
get_sub_organizationGet sub organizationGETReturns one sub-organization: name, country, monthly mail usage, spend in cents and the mailing limit before overage.list_sub_organizationsList sub organizationsGETLists the sub-organizations of your partner account with their monthly mail usage, spend in cents and limit. Page with skip and limit.
Template editor session, 2 operations
create_template_editor_sessionCreate template editor sessionPOSTCreates a session of PostGrid's visual template editor for one template and returns its url, to embed in an iframe or open to edit that template. Share the url only with people who may edit the template.delete_template_editor_sessionDelete template editor sessionDELETEDeletes a template editor session by id.
Address, 1 operation
get_virtual_mailbox_addressGet virtual mailbox addressGETReturns the physical postal address of a virtual mailbox (street, city, state, ZIP code and country).
Autocomplete, 1 operation
autocomplete_list_build_filterAutocomplete list build filterPOSTSuggests values for a list build filter (today only industry), to use in the industries filter of create_targeted_list_build.
Capability, 1 operation
get_snap_pack_capabilitiesGet snap pack capabilitiesGETReturns the snap pack sizes and mailing classes available for a destination country (or for the countries of a mailing list) and a return country. Read it before create_snap_pack.
Confirm, 1 operation
confirm_targeted_list_buildConfirm targeted list buildPOSTConfirms a list build whose quote is ready: with a live API key this spends list build credits (quote count times price per contact; a test key spends none) and builds the mailing list asynchronously.
Job, 1 operation
run_mailing_list_jobRun mailing list jobPOSTAdds or removes contacts in a mailing list, from mailing list imports or contact ids (one operation per job). Runs only when the list status is completed, one job at a time.
Send, 1 operation
send_campaignSend campaignPOSTSends a draft campaign: one order per mailing list contact is created and printed, now or at sendDate. With a live API key this mails every piece and is billed; with a test key nothing is sent. Cannot be updated afterwards.
User, 1 operation
list_sub_organization_usersList sub organization usersGETLists the users of one sub-organization: name, email, phone, roles and last login (personal data). Page with skip and limit.
Use PostGrid Print & Mail from Claude Code, Cursor or Codex
Connect PostGrid Print & Mail in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its PostGrid Print & Mail operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect PostGrid Print & Mail
- Create your workspace
Sign up free. Nothing to install.
- Connect PostGrid Print & Mail once
Add your PostGrid Print & Mail connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
PostGrid Print & Mail integration FAQ
What can you do with the PostGrid Print & Mail integration?
LiveContext exposes 87 operations on PostGrid Print & Mail, covering progression, campaign, mailing list and mailing list import.
