Migrating from Lob or PostGrid to Thanks.io API: Payload Translation & Cost Savings
Migrating from Lob or PostGrid to the Thanks.io Postcard API (https://api.thanks.io/api/v2) replaces $260–$550/mo legacy platform minimums with $0/mo Pay as you go, $49/mo Business ($0.77 4×6 postcards), or $199/mo Professional ($0.64 4×6 postcards, postage included, zero minimums). Translate /v1/postcards or /print-mail/v1/postcards payloads to /api/v2/recipients/postcard, validate safely in free Test Mode, and gain digital handwriting, folded notecards, and QR webhooks.
Platform Fee Savings
$211–$351/mo
vs. Lob Startup / Growth
4×6 Postcard Rate
$0.64 Pro
$0.77 Biz · $1.18 Free
Volume Minimums
Zero (1+ pc)
No 500/mo or 6k/yr caps
Net-New Capabilities
Handwriting + MCP
Digital engine + 57 tools
Side-by-Side Request Translation: Lob & PostGrid to Thanks.io v2
Select your current provider, endpoint, and language below to inspect the exact authentication, endpoint URL, and JSON schema changes needed to move to https://api.thanks.io/api/v2.
1. Migrating From
2. Endpoint / Payload
3. Code Language
POST https://api.lob.com/v1/postcards · HTTP Basic (-u $LOB_API_KEY:)
curl -X POST "https://api.lob.com/v1/postcards" \
-u "$LOB_API_KEY:" \
-H "Content-Type: application/json" \
-d '{
"description": "VIP Winback 4x6",
"size": "4x6",
"mail_type": "usps_first_class",
"to": {
"name": "Sarah Jenkins",
"address_line1": "742 Evergreen Terrace",
"address_city": "Austin",
"address_state": "TX",
"address_zip": "78704"
},
"front": "https://cdn.yourcompany.com/cards/winback-front-300dpi.png",
"back": "tmpl_c94e83ca2cd5121",
"merge_variables": {
"first_name": "Sarah",
"customer_id": "cus_98234"
},
"qr_code": {
"position": "relative",
"redirect_url": "https://yourcompany.com/claim?cid=cus_98234"
}
}'POST https://api.thanks.io/api/v2/recipients/postcard · Authorization: Bearer $THANKS_IO_API_KEY
curl -X POST "https://api.thanks.io/api/v2/recipients/postcard" \
-H "Authorization: Bearer $THANKS_IO_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"size": "4x6",
"postage_class": "first_class",
"front_image_url": "https://cdn.yourcompany.com/cards/winback-front-300dpi.png",
"handwriting_style": 14,
"handwriting_color": "blue",
"realism": true,
"message": "Hi %FIRST_NAME%! We'd love to welcome you back. Scan the QR code on this card to claim your VIP credit.",
"qrcode_url": "https://yourcompany.com/claim?cid=%CUSTOM1%",
"recipients": [
{
"name": "Sarah Jenkins",
"address": "742 Evergreen Terrace",
"city": "Austin",
"province": "TX",
"postal_code": "78704",
"country": "US",
"custom1": "cus_98234"
}
]
}'PostGrid Size Gotcha
PostGrid reverses width×height (6x4, 9x6, 11x6). Thanks.io matches Lob's standard 4x6, 6x9, and 6x11 strings.
Batch Array Support
Instead of firing N sequential HTTP calls for N recipients, recipients: [...] lets you dispatch 1 transactional card or hundreds of batch recipients in a single JSON POST.
Proprietary Digital Handwriting
Thanks.io renders handwritten-style copy via its proprietary 300 DPI digital handwriting engine (AI Fonts + realism: true)—never slow mechanical pen plotters.
Compare Monthly & Annual Costs: Thanks.io vs. Lob vs. PostGrid
Model your actual monthly send volume below. The calculator automatically picks each vendor's lowest-total-cost tier using verified published pricing (postage included).
Professional ($199/mo)
Estimated Monthly Total
$1,159/mo
$13,908/year
Startup ($260/mo)
Estimated Monthly Total
$1,228/mo
$14,730/year
Paid Software Tier (~$250/mo)
Estimated Monthly Total
$1,480/mo
$17,760/year
Thanks.io includes USPS Standard postage, digital handwriting, and zero volume minimums. First Class adds +$0.05 on 4×6 postcards. Full verified breakdowns: Thanks.io Pricing, Thanks.io vs. Lob, Thanks.io vs. PostGrid, and Full ROI Calculator.
Published Platform Tiers & Per-Piece Rates (US, Postage Included)
Thanks.io updated Nov 5, 2026 · Lob verified Nov 2026 · PostGrid verified Oct 2026.
| Provider & Tier | Monthly Fee | Volume Cap | 4×6 Postcard | Letter | Included Capabilities |
|---|---|---|---|---|---|
| Thanks.io · Pay as you go | $0/mo | No cap • Zero minimums | $1.18 | $1.24 (Windowed) | Full REST API v2, free Test Mode, digital handwriting, Street View, MCP server |
| Thanks.io · Business | $49/mo | No cap • Zero minimums | $0.77 | $0.83 (Windowed) / $1.35 (Windowless) | QR scan webhooks, Gift Cards, 1st AI Receptionist number ($0/mo), Lead Board |
| Thanks.io · Professional | $199/mo | No cap • Zero minimums | $0.64 | $0.79 (Windowed) / $0.99 (Windowless) | Wholesale per-piece rates ($1.49 Notecards, $1.04 MagnaCards) + Dedicated Success Manager |
| Lob (Verified Nov 2026) · Developer | $0/mo | Capped at 6,000/yr (500/mo avg) | $0.905 | $0.828 | Commercial HTML/PDF print & checks ($1.190); no handwriting, notecards, gift cards, or MCP |
| Lob (Verified Nov 2026) · Startup | From $260/mo | Up to 75,000/yr | $0.645 | $0.658 | Commercial print & checks ($1.040); $211/mo more than Thanks.io Business software fee |
| Lob (Verified Nov 2026) · Growth | From $550/mo | Up to 150,000/yr | $0.615 | $0.628 | $351/mo higher platform fee than Thanks.io Pro; no digital handwriting or Street View |
| PostGrid (Verified Oct 2026) · Free | $0/mo | Strict 500 mailings/mo cap | ~$0.90 | ~$0.99–$1.22 (color) | Standard print & address verify; exceeding 500 pieces/mo forces jump to paid software tier |
| PostGrid (Verified Oct 2026) · Paid Software Tiers | ~$250–$1,000+/mo | Tiered software plans | ~$0.82 | ~$0.89 | ~5× higher platform fee than Thanks.io Business ($49/mo); no handwriting, gift cards, or MCP |
Complete Endpoint, Payload Field & Webhook Mapping
Exact 1-to-1 reference mapping Lob v1 and PostGrid Print & Mail v1 resources, JSON keys, and webhook lifecycle events to Thanks.io REST API v2.
| Capability | Lob API v1 | PostGrid API v1 | Thanks.io REST API v2 | Migration Notes |
|---|---|---|---|---|
| Authentication Header | HTTP Basic: -u test_xxx: (or live_xxx:) | Header: x-api-key: test_sk_xxx (or live_sk_xxx) | Header: Authorization: Bearer YOUR_API_KEY | Generate a Personal Access Token under Account Settings -> API Access. One Bearer token works for REST API v2 and MCP. |
| Sandbox / Test Mode | Separate test_... API key | Separate test_sk_... API key | Account Settings -> API Access -> Test Mode toggle | Validates auth, schema, image URLs, and addresses and returns realistic mock order responses with $0 charged and nothing printed. |
| Send Postcards (4×6, 6×9, 6×11) | POST https://api.lob.com/v1/postcards | POST https://api.postgrid.com/print-mail/v1/postcards | POST https://api.thanks.io/api/v2/recipients/postcard | Accepts 1 recipient or an array of recipients in one call, plus creative_id or front_image_url, handwriting_style, realism, and qrcode_url. |
| Send Letters (Windowed / Windowless) | POST https://api.lob.com/v1/letters | POST https://api.postgrid.com/print-mail/v1/letters | POST https://api.thanks.io/api/v2/recipients/letter | Supports windowed letters ($0.79 Pro) and windowless real-stamp letters ($0.99 Pro) via PDF URL or handwritten-style message copy. |
| Saved Templates / Creatives | GET /v1/templates (HTML tmpl_...) | GET /print-mail/v1/templates (HTML template_...) | GET https://api.thanks.io/api/v2/creatives | Pass integer creative_id designed in ThanksAI Studio or Canva—decoupling marketing layout edits from engineering deploys. |
| Webhook Subscriptions | Dashboard / POST /v1/webhooks | POST /print-mail/v1/webhooks | POST https://api.thanks.io/api/v2/webhooks | Delivers order.status_updated, order_item.status_updated, First Class IMb order_item.delivered, and real-time qr.scanned events (Business+). |
| Handwritten-Style Fonts & Realism | Not supported (commercial HTML/PDF print only) | Not supported (commercial HTML/PDF print only) | GET https://api.thanks.io/api/v2/handwriting-styles | Proprietary 300 DPI digital handwriting engine (not pen plotters) with AI Fonts glyph variation and realism: true. |
| Folded Notecards, Gift Cards & MagnaCards | Not offered | Not offered | POST /api/v2/recipients/notecard, /giftcard & /magnacard | Folded notecards from $1.49 (Pro), pay-on-redemption Gift Cards (Business+), and 6×9 fridge MagnaCards from $1.04 (Pro). |
| Neighbor Radius & Street View API | Not offered (bring your own purchased list) | Not offered (address verify only, no radius data) | POST https://api.thanks.io/api/v2/send/radius | Append nearest residential/business neighbors for $0.05/address plus dynamic Google Street View (~STREET_VIEW~) & 16 AI House Effects ($0.10). |
| AI Agent / MCP Server | No official hosted OAuth MCP server | No official hosted OAuth MCP server | https://mcp.thanks.io/mcp (57 OAuth tools) | Connect Claude, Cursor, ChatGPT, or custom agent runtimes directly to preview orders, manage creatives, and dispatch physical mail. |
Drop-In TypeScript & Python Migration Wrappers
Keep your upstream CRM, checkout, or job-queue callers untouched while swapping the transport layer behind a feature flag. Test with Thanks.io Test Mode enabled before cutting over production traffic.
Translate Existing Lob Postcard Payloads Without Rewriting Upstream Callers
Wrap your existing Lob call site behind a thin adapter function that maps to.address_line1/address_state/address_zip, mail_type, and merge_variables into Thanks.io's POST /api/v2/recipients/postcard schema.
- Preserves your upstream domain objects while swapping HTTP Basic auth for Bearer token auth
- Converts Lob's usps_first_class / usps_standard values directly to Thanks.io's first_class / standard
- Maps Lob merge_variables into custom1–custom4 so they appear in both printed copy and qr.scanned webhooks
// thanksio-lob-adapter.ts — Drop-in replacement for Lob postcards.create()
interface LegacyLobPostcardInput {
description?: string;
size: "4x6" | "6x9" | "6x11";
mail_type?: "usps_first_class" | "usps_standard";
front_image_url?: string;
creative_id?: number;
message: string;
qrcode_url?: string;
to: {
name: string;
address_line1: string;
address_line2?: string;
address_city: string;
address_state: string;
address_zip: string;
address_country?: string;
};
merge_variables?: {
customer_id?: string;
offer_code?: string;
};
}
export async function sendPostcardViaThanksIo(input: LegacyLobPostcardInput) {
const postageClass =
input.mail_type === "usps_first_class" ? "first_class" : "standard";
const payload = {
size: input.size,
postage_class: postageClass,
...(input.creative_id
? { creative_id: input.creative_id }
: { front_image_url: input.front_image_url }),
handwriting_style: 14, // Digital handwriting engine (AI Fonts)
handwriting_color: "blue",
realism: true,
message: input.message,
...(input.qrcode_url ? { qrcode_url: input.qrcode_url } : {}),
recipients: [
{
name: input.to.name,
address: input.to.address_line1,
...(input.to.address_line2 ? { address2: input.to.address_line2 } : {}),
city: input.to.address_city,
province: input.to.address_state,
postal_code: input.to.address_zip,
country: input.to.address_country ?? "US",
custom1: input.merge_variables?.customer_id ?? "",
custom2: input.merge_variables?.offer_code ?? "",
},
],
};
const res = await fetch("https://api.thanks.io/api/v2/recipients/postcard", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.THANKS_IO_API_KEY}`,
"Content-Type": "application/json",
Accept: "application/json",
},
body: JSON.stringify(payload),
});
if (!res.ok) {
throw new Error(`Thanks.io API ${res.status}: ${await res.text()}`);
}
return res.json();
}15-Minute Lob & PostGrid Migration Checklist
Check off each step as you move from sandbox verification in Thanks.io Test Mode to live production traffic with zero double-sends or dropped webhooks.
Migration Progress
0 / 6 steps completed
Create Your $0/mo Account, Generate a Bearer Key & Toggle Test Mode ON
Sign up on Thanks.io Pay as you go ($0/mo), open Account Settings -> API Access, create a Personal Access Token, and toggle Test Mode ON. While active, every POST validates auth, schema, and artwork URLs with zero print charges.
Account Settings -> API Access -> Test Mode ON + THANKS_IO_API_KEYSwap Base URL & Replace HTTP Basic / x-api-key with Bearer Auth
Point your mail client to https://api.thanks.io/api/v2 and replace Lob's Basic Auth (-u key:) or PostGrid's x-api-key header with Authorization: Bearer $THANKS_IO_API_KEY plus Content-Type: application/json.
https://api.thanks.io/api/v2 + Authorization: Bearer $THANKS_IO_API_KEYMap Recipient Address Fields, Sizes & Postage Class
Drop in the TypeScript or Python adapter to map address_line1/addressLine1 -> address, address_state/provinceOrState -> province, address_zip/postalOrZip -> postal_code, PostGrid's reversed '6x4'/'9x6'/'11x6' -> '4x6'/'6x9'/'6x11', and mail_type/mailingClass -> postage_class ('standard' | 'first_class').
recipients[].province + postal_code + size: '4x6'|'6x9'|'6x11'Port Artwork to 300 DPI URLs or Saved Creative IDs (+ Optional Digital Handwriting)
Upload front artwork in ThanksAI Studio / Canva to reference an integer creative_id (GET /api/v2/creatives) or pass front_image_url directly. Replace HTML back templates with message copy, %FIRST_NAME% merge tags, handwriting_style (GET /api/v2/handwriting-styles), realism: true, and qrcode_url.
creative_id (or front_image_url) + handwriting_style + qrcode_urlRegister Thanks.io Webhooks While Keeping Legacy Endpoints Warm
Register POST /api/v2/webhooks for qr.scanned, order_item.delivered (First Class IMb), and order.status_updated with event_id deduplication. Keep your Lob/PostGrid webhook handler active for ~20 business days until in-flight legacy mail finishes delivery.
POST /api/v2/webhooks -> qr.scanned + order_item.delivered (event_id)Verify Test Mode Responses, Toggle Live & Select Your Optimal Plan Tier
Confirm 200 OK mock orders in Test Mode, switch Test Mode OFF, and send 1 live postcard to your office address (zero minimums). If you mail 125+ 4×6 postcards/mo, activate Business ($49/mo -> $0.77/card); above ~1,150/mo, Professional ($199/mo -> $0.64/card) minimizes total spend.
Test Mode OFF -> 1 live QA card -> Business ($49) or Pro ($199) tierWhen to Migrate to Thanks.io vs. When to Keep Lob or PostGrid
Every print-and-mail API has a clear sweet spot. Use this matrix to decide whether to move your entire stack or keep regulated check/HIPAA workloads separate from marketing and lifecycle mail.
| Evaluation Axis | Migrate to Thanks.io REST API v2 | Stay on Lob or PostGrid |
|---|---|---|
| Software & Platform Fees | You want to eliminate Lob's $260–$550/mo platform fees or PostGrid's 500/mo free cap (~$250+/mo paid tiers) and pay $0/mo, $49/mo (Business), or $199/mo (Pro). | You already have a deeply negotiated high-volume Enterprise contract (150,000+ transactional statements/year) with custom SLA terms. |
| Mail Formats & Personalization | You want handwritten-style postcards, windowless real-stamp letters ($0.99 Pro), folded notecards ($1.49 Pro), pay-on-redemption Gift Cards, or 6×9 MagnaCards. | You need physical bank check printing and mailing (Lob Checks API or PostGrid Checks), which Thanks.io intentionally does not offer. |
| Compliance & Transactional Notices | You send marketing, lifecycle, retention, real estate, ecommerce, B2B ABM, or customer appreciation mail where engagement and QR scan attribution drive revenue. | You require a HIPAA/PIPEDA Business Associate Agreement (BAA) for regulated healthcare EOBs, legal notices, or monthly financial billing statements. |
| Built-In Data, Street View & AI Agents | You want native $0.05/address Radius Search, $0.10 buyer-intent Lead Feeds, dynamic Google Street View + 16 AI House Effects, 24/7 AI Receptionist, and a 57-tool OAuth MCP server. | You are primarily licensing PostGrid's standalone CASS/NCOA address autocomplete API for checkout forms rather than running direct mail campaigns. |
Explore the Rest of the Thanks.io Postcard API Library
Pair your Lob or PostGrid migration with our webhook schemas, handwriting API, Google Street View radius blasts, and deep-dive vendor comparisons.
Postcard API Hub
Full Thanks.io REST API v2 overview, 300 DPI print specs, per-piece pricing, and the hosted 57-tool OAuth MCP server.
Thanks.io vs. Lob (2026)
Line-by-line comparison of platform fees, annual caps, checks vs. marketing formats, digital handwriting, and QR tracking.
Thanks.io vs. PostGrid (2026)
Compare PostGrid's 500/mo free cap and ~$250+/mo paid tiers against Thanks.io's $49/mo Business and $199/mo Pro plans.
Direct Mail API Developer Guide
End-to-end Node.js, Python, and cURL blueprints for postcards, windowless letters, PDF documents, and Test Mode.
Direct Mail Webhooks & QR Scan Tracking API
JSON schemas for qr.scanned, order_item.delivered (First Class IMb), event_id deduplication, and CRM/Slack sync.
Handwritten-Style Postcard & Notecard API
Query GET /api/v2/handwriting-styles, enable AI Fonts glyph variation and Realism Mode, and mail stamped envelopes.
Real Estate Radius & Street View Postcard API
Automate ~STREET_VIEW~ property images, absentee_address separation, and $0.05/address neighbor radius blasts.
Direct Mail Pricing & ROI Calculator
Model campaign volume, plan breakeven points, and per-piece postage economics across all Thanks.io mail formats.
Thanks.io Direct Mail Pricing
Complete US, international, nonprofit, and Enterprise rates across Pay as you go ($0), Business ($49), and Pro ($199).
Does Thanks.io Support Webhooks?
Quick-reference guide to supported webhook events, retry behavior, and Business/Professional plan availability.
AI Direct Mail Agent & MCP Guide
Unlock autonomous direct mail workflows via https://mcp.thanks.io/mcp (57 OAuth tools)—unavailable on Lob or PostGrid.
Watch or Book a Thanks.io Demo
Walk through your migration plan, creative setup, or Enterprise volume tiers with the Thanks.io team.
Lob & PostGrid to Thanks.io API Migration FAQs
Direct answers on platform fee savings, Test Mode sandbox parity, HTML template conversion, webhooks, checks/HIPAA scope, and USPS delivery timelines.
Drop Your Legacy Platform Fee—Keep Full API Control
Generate a Thanks.io Bearer key in 60 seconds, run your translated Lob or PostGrid payloads through free Test Mode, and mail 4×6 postcards from $0.64 on Professional with postage included.