Postcard API Silo · Spoke #5
    $0 / $49 / $199 vs. $260–$550/mo
    ~15-Minute Cutover · Free Test Mode

    Migrating from Lob or PostGrid to Thanks.io API: Payload Translation & Cost Savings

    Quick Migration Answer

    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

    Interactive Payload Translator

    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

    Thanks.io Options:
    BEFORELob Postcard Request (cURL)

    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"
        }
      }'
    AFTER · THANKS.IO v2Thanks.io Postcard Request (cURL)

    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.

    Platform Fee & Unit Economics Calculator

    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).

    / mo
    Thanks.io
    Optimal Tier

    Professional ($199/mo)

    Estimated Monthly Total

    $1,159/mo

    $13,908/year

    Platform fee$199/mo
    Per-piece rate$0.64/pc
    Annual cap / MOQNone (Zero minimums)
    Start Free in Test Mode
    LobVerified Nov 2026

    Startup ($260/mo)

    Estimated Monthly Total

    $1,228/mo

    $14,730/year

    Platform fee$260/mo
    Per-piece rate$0.645/pc
    Annual tier noteUp to 75,000 mailings/yr
    Save ~$822/year by switching from Lob
    PostGridVerified Oct 2026

    Paid Software Tier (~$250/mo)

    Estimated Monthly Total

    $1,480/mo

    $17,760/year

    Platform fee~$250/mo
    Per-piece rate~$0.82/pc
    Plan ceilingRequired above 500 mailings/mo
    Save ~$3,852/year by switching from PostGrid

    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.

    View All Formats & Nonprofit Rates
    Provider & TierMonthly FeeVolume Cap4×6 PostcardLetterIncluded Capabilities
    Thanks.io · Pay as you go$0/moNo 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/moNo 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/moNo 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/moCapped at 6,000/yr (500/mo avg)$0.905$0.828Commercial HTML/PDF print & checks ($1.190); no handwriting, notecards, gift cards, or MCP
    Lob (Verified Nov 2026) · StartupFrom $260/moUp to 75,000/yr$0.645$0.658Commercial print & checks ($1.040); $211/mo more than Thanks.io Business software fee
    Lob (Verified Nov 2026) · GrowthFrom $550/moUp 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/moStrict 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+/moTiered software plans~$0.82~$0.89~5× higher platform fee than Thanks.io Business ($49/mo); no handwriting, gift cards, or MCP
    Schema & Endpoint Crosswalk

    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.

    CapabilityLob API v1PostGrid API v1Thanks.io REST API v2Migration Notes
    Authentication HeaderHTTP Basic: -u test_xxx: (or live_xxx:)Header: x-api-key: test_sk_xxx (or live_sk_xxx)Header: Authorization: Bearer YOUR_API_KEYGenerate a Personal Access Token under Account Settings -> API Access. One Bearer token works for REST API v2 and MCP.
    Sandbox / Test ModeSeparate test_... API keySeparate test_sk_... API keyAccount Settings -> API Access -> Test Mode toggleValidates 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/postcardsPOST https://api.postgrid.com/print-mail/v1/postcardsPOST https://api.thanks.io/api/v2/recipients/postcardAccepts 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/lettersPOST https://api.postgrid.com/print-mail/v1/lettersPOST https://api.thanks.io/api/v2/recipients/letterSupports windowed letters ($0.79 Pro) and windowless real-stamp letters ($0.99 Pro) via PDF URL or handwritten-style message copy.
    Saved Templates / CreativesGET /v1/templates (HTML tmpl_...)GET /print-mail/v1/templates (HTML template_...)GET https://api.thanks.io/api/v2/creativesPass integer creative_id designed in ThanksAI Studio or Canva—decoupling marketing layout edits from engineering deploys.
    Webhook SubscriptionsDashboard / POST /v1/webhooksPOST /print-mail/v1/webhooksPOST https://api.thanks.io/api/v2/webhooksDelivers order.status_updated, order_item.status_updated, First Class IMb order_item.delivered, and real-time qr.scanned events (Business+).
    Handwritten-Style Fonts & RealismNot supported (commercial HTML/PDF print only)Not supported (commercial HTML/PDF print only)GET https://api.thanks.io/api/v2/handwriting-stylesProprietary 300 DPI digital handwriting engine (not pen plotters) with AI Fonts glyph variation and realism: true.
    Folded Notecards, Gift Cards & MagnaCardsNot offeredNot offeredPOST /api/v2/recipients/notecard, /giftcard & /magnacardFolded notecards from $1.49 (Pro), pay-on-redemption Gift Cards (Business+), and 6×9 fridge MagnaCards from $1.04 (Pro).
    Neighbor Radius & Street View APINot offered (bring your own purchased list)Not offered (address verify only, no radius data)POST https://api.thanks.io/api/v2/send/radiusAppend nearest residential/business neighbors for $0.05/address plus dynamic Google Street View (~STREET_VIEW~) & 16 AI House Effects ($0.10).
    AI Agent / MCP ServerNo official hosted OAuth MCP serverNo official hosted OAuth MCP serverhttps://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.
    Zero-Downtime Adapter Pattern

    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.

    Drop-in Wrapper

    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
    Lob -> Thanks.io Adapter · TypeScript
    // 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();
    }
    Test Mode Verification Playbook

    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

    Step 01 · Account & Sandbox
    2 min

    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_KEY
    Step 02 · Auth & Base URL
    2 min

    Swap 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_KEY
    Step 03 · Payload Adapter
    4 min

    Map 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'
    Step 04 · Creative & Handwriting
    3 min

    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_url
    Step 05 · Webhooks & Attribution
    2 min

    Register 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)
    Step 06 · Live Cutover
    2 min

    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) tier
    Transparent Engineering Trade-Offs

    When 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 AxisMigrate to Thanks.io REST API v2Stay on Lob or PostGrid
    Software & Platform FeesYou 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 & PersonalizationYou 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 NoticesYou 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 AgentsYou 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.
    Postcard API Silo & Competitor Comparisons

    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.

    Pillar Hub

    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.

    Full Comparison

    Thanks.io vs. Lob (2026)

    Line-by-line comparison of platform fees, annual caps, checks vs. marketing formats, digital handwriting, and QR tracking.

    Full Comparison

    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.

    Spoke #1

    Direct Mail API Developer Guide

    End-to-end Node.js, Python, and cURL blueprints for postcards, windowless letters, PDF documents, and Test Mode.

    Spoke #2

    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.

    Spoke #3

    Handwritten-Style Postcard & Notecard API

    Query GET /api/v2/handwriting-styles, enable AI Fonts glyph variation and Realism Mode, and mail stamped envelopes.

    Spoke #4

    Real Estate Radius & Street View Postcard API

    Automate ~STREET_VIEW~ property images, absentee_address separation, and $0.05/address neighbor radius blasts.

    ROI Tool

    Direct Mail Pricing & ROI Calculator

    Model campaign volume, plan breakeven points, and per-piece postage economics across all Thanks.io mail formats.

    Verified Rates

    Thanks.io Direct Mail Pricing

    Complete US, international, nonprofit, and Enterprise rates across Pay as you go ($0), Business ($49), and Pro ($199).

    Webhook FAQ

    Does Thanks.io Support Webhooks?

    Quick-reference guide to supported webhook events, retry behavior, and Business/Professional plan availability.

    AI Agents & MCP

    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.

    Live Walkthrough

    Watch or Book a Thanks.io Demo

    Walk through your migration plan, creative setup, or Enterprise volume tiers with the Thanks.io team.

    Migration FAQ

    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.

    $0/mo Pay as you go • $49/mo Business • $199/mo Pro • Zero Minimums

    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.