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

- **Canonical URL**: `https://thanks.io/postcard-api/lob-postgrid-migration-guide`
- **Parent Hub**: [Postcard API Hub](https://thanks.io/postcard-api)
- **Sibling Guides**: [Direct Mail API Developer Guide](https://thanks.io/postcard-api/direct-mail-api-guide) | [Direct Mail Webhooks & QR Scan Tracking API](https://thanks.io/postcard-api/webhooks-qr-tracking) | [Handwritten-Style Postcard & Notecard API](https://thanks.io/postcard-api/handwritten-postcard-api) | [Real Estate Radius & Google Street View Postcard API](https://thanks.io/postcard-api/real-estate-radius-street-view-api)
- **Competitor Comparisons**: [Thanks.io vs. Lob](https://thanks.io/compare/thanks-io-vs-lob) | [Thanks.io vs. PostGrid](https://thanks.io/compare/thanks-io-vs-postgrid)
- **Base REST API v2 URL**: `https://api.thanks.io/api/v2`
- **Hosted OAuth MCP Server**: `https://mcp.thanks.io/mcp` (57 tools; Docs MCP: `https://docs.thanks.io/mcp`)
- **Handwriting Rendering**: Proprietary 300 DPI digital handwriting engine with AI Fonts and Realism Mode — **not** real pens or robotic pen plotters.
- **Minimum Order**: Zero minimums (1 piece or 100,000+ at published per-piece rates; US postage included).

---

## Direct 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.

---

## 1. Published Platform Tiers & Per-Piece Pricing Comparison

*(Thanks.io pricing updated November 5, 2026; Lob verified November 2026; PostGrid verified October 2026. All US rates include standard postage.)*

| Provider & Tier | Monthly Fee | Volume Cap / Minimums | 4×6 Postcard | Letter | Included Capabilities |
| :--- | :---: | :--- | :---: | :---: | :--- |
| **Thanks.io — Pay as you go** | **$0/mo** | Zero caps, zero minimums | $1.18 | $1.24 (Windowed) | Full REST API v2, free Test Mode, digital handwriting, Street View, 57-tool MCP server |
| **Thanks.io — Business** | **$49/mo** | Zero caps, zero minimums | **$0.77** | $0.83 (Windowed) / $1.35 (Windowless) | Per-recipient QR scan webhooks, Gift Cards, 1st AI Receptionist number (`$0/mo`), Lead Board |
| **Thanks.io — Professional** | **$199/mo** | Zero caps, zero minimums | **$0.64** | **$0.79** (Windowed) / **$0.99** (Windowless) | Wholesale per-piece rates (`$1.49` Folded Notecards, `$1.04` MagnaCards) + Dedicated Success Manager |
| **Lob — Developer** | $0/mo | Capped at 6,000/yr | $0.905 | $0.828 | Commercial HTML/PDF print & checks (`$1.190`); no handwriting, notecards, gift cards, or MCP |
| **Lob — 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 |
| **Lob — Growth** | From $550/mo | Up to 150,000/yr | $0.615 | $0.628 | `$351/mo` higher platform fee than Thanks.io Pro; no handwriting or Street View |
| **PostGrid — Free** | $0/mo | Strict 500/mo cap | ~$0.90 | ~$0.99–$1.22 (color) | Standard print & address verify; exceeding 500/mo forces paid software upgrade |
| **PostGrid — Paid Tiers** | ~$250–$1,000+/mo | Tiered software plans | ~$0.82 | ~$0.89 | ~5× higher software fee than Thanks.io Business (`$49/mo`); no handwriting, gift cards, or MCP |

### Additional Verified Thanks.io US Rates (Postage Included, Zero Minimums)
- **6×9 Postcard**: `$1.65` Free / `$0.91` Business / `$0.71` Pro (`$0.54` Nonprofit Pro)
- **6×11 Postcard**: `$1.87` Free / `$1.01` Business / `$0.76` Pro (`$0.55` Nonprofit Pro)
- **Windowless Letter (Real Stamp)**: `$2.56` Free / `$1.35` Business / `$0.99` Pro (`$0.78` Nonprofit Pro)
- **Folded Notecard**: `$3.04` Free / `$1.83` Business / `$1.49` Pro (`$1.28` Nonprofit Pro)
- **Gift Card (Business+ required)**: `$1.83` Business / `$1.49` Pro + gift amount (face value charged only on redemption)
- **6×9 Magnacard**: `$2.08` Free / `$1.43` Business / `$1.04` Pro
- **First Class Upgrade**: `+$0.05` (4×6 & 6×9 postcards) or `+$0.21` (6×11 postcards & all other products)
- **Data Services**: Radius Address Search `$0.05/address`, Lead Feeds `$0.10/new lead`, AI House Effects `$0.10/mailer`, Print Protect `$0.15/card`
- **24/7 AI Receptionist (Business+ required)**: Main account's first number `$0/mo`, extra/sub-account numbers `$3/mo`, answered calls `$0.20/min`

---

## 2. Endpoint & Authentication Mapping

| Capability | Lob API v1 | PostGrid API v1 | Thanks.io REST API v2 |
| :--- | :--- | :--- | :--- |
| **Authentication** | HTTP Basic (`-u key:`) | Header `x-api-key` | Header `Authorization: Bearer YOUR_API_KEY` |
| **Sandbox / Test Mode** | Separate `test_...` key | Separate `test_sk_...` key | Account Settings -> API Access -> **Test Mode** toggle |
| **Send Postcards** | `POST /v1/postcards` | `POST /print-mail/v1/postcards` | `POST https://api.thanks.io/api/v2/recipients/postcard` |
| **Send Letters** | `POST /v1/letters` | `POST /print-mail/v1/letters` | `POST https://api.thanks.io/api/v2/recipients/letter` |
| **Saved Templates / Creatives** | `GET /v1/templates` | `GET /print-mail/v1/templates` | `GET https://api.thanks.io/api/v2/creatives` |
| **Webhooks** | `POST /v1/webhooks` | `POST /print-mail/v1/webhooks` | `POST https://api.thanks.io/api/v2/webhooks` |
| **Digital Handwriting** | Not supported | Not supported | `GET https://api.thanks.io/api/v2/handwriting-styles` |
| **Notecards / Gift Cards / MagnaCards** | Not offered | Not offered | `POST /api/v2/recipients/notecard`, `/giftcard`, `/magnacard` |
| **Radius Neighbor Blasts** | Not offered | Not offered | `POST https://api.thanks.io/api/v2/send/radius` (`$0.05/address`) |
| **AI Agent / MCP** | No official hosted MCP | No official hosted MCP | `https://mcp.thanks.io/mcp` (57 OAuth tools) |

---

## 3. Payload Field & Webhook Crosswalk

### Key Payload Differences
- **Recipient Name**: Lob `to.name` / PostGrid `to.firstName` + `to.lastName` -> Thanks.io `recipients[].name`
- **Street**: Lob `to.address_line1` / PostGrid `to.addressLine1` -> Thanks.io `recipients[].address` (+ optional `address2`)
- **City / State / ZIP**: Lob `address_city`, `address_state`, `address_zip` / PostGrid `city`, `provinceOrState`, `postalOrZip` -> Thanks.io `city`, `province`, `postal_code`, `country`
- **Postcard Size**: Lob `"4x6" | "6x9" | "6x11"` / PostGrid `"6x4" | "9x6" | "11x6"` *(reversed!)* -> Thanks.io `"4x6" | "6x9" | "6x11"`
- **Postage Class**: Lob `mail_type: "usps_standard" | "usps_first_class"` / PostGrid `mailingClass: "standard_class" | "first_class"` -> Thanks.io `postage_class: "standard" | "first_class"`
- **Personalization & QR**: Replace brittle HTML back templates with `message` merge tags (`%FIRST_NAME%`, `%COMPANY%`, `%CUSTOM1%`–`%CUSTOM4%`), `handwriting_style`, `realism: true`, and `qrcode_url`.

### Example Translated Thanks.io Postcard Request (`cURL`)

```bash
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 would 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"
      }
    ]
  }'
```

### Webhook Event Mapping
- `postcard.created` / `letter.created` -> `order.status_updated`
- `postcard.in_transit` / `postcard.in_local_area` -> `order_item.status_updated`
- `postcard.processed_for_delivery` -> `order_item.delivered` (First Class USPS IMb tracking)
- Per-recipient QR scan conversion -> `qr.scanned` (included on Business `$49/mo` & Pro `$199/mo`; deduplicate on `event_id`)

---

## 4. 15-Minute Migration & Test Mode Checklist

1. **Create Free Account & Enable Test Mode (2 min)**: Sign up on `$0/mo` Pay as you go, generate a Personal Access Token under Account Settings -> API Access, and toggle **Test Mode ON**.
2. **Swap Base URL & Auth Header (2 min)**: Point requests to `https://api.thanks.io/api/v2` with `Authorization: Bearer $THANKS_IO_API_KEY`.
3. **Add Payload Adapter (4 min)**: Map `address_line1`/`addressLine1` -> `address`, `address_state`/`provinceOrState` -> `province`, `address_zip`/`postalOrZip` -> `postal_code`, PostGrid reversed sizes (`6x4` -> `4x6`), and `postage_class`.
4. **Port Artwork & Optional Digital Handwriting (3 min)**: Upload 300 DPI front artwork as a saved `creative_id` or pass `front_image_url`, plus `message`, `handwriting_style`, `realism: true`, and `qrcode_url`.
5. **Register Webhooks & Deduplicate `event_id` (2 min)**: Register `POST /api/v2/webhooks` for `qr.scanned` and `order_item.delivered`; keep legacy webhook endpoints live ~20 business days while in-flight mail finishes transit.
6. **Verify in Test Mode & Go Live (2 min)**: Confirm `200 OK` mock responses, turn Test Mode OFF, send 1 QA card to your office, and activate Business (`$49/mo`) or Professional (`$199/mo`) if volume justifies the lower per-piece rate.

---

## 5. When to Migrate vs. When to Stay

- **Migrate to Thanks.io** when you want to drop `$250–$550/mo` platform fees, remove 500/mo or 6,000/yr caps, add proprietary digital handwriting, send folded notecards / pay-on-redemption gift cards / 6×9 MagnaCards, trigger `$0.05/address` radius blasts or Google Street View cards, or connect AI agents to the 57-tool OAuth MCP server.
- **Stay on Lob or PostGrid** if your primary workload is printing and mailing physical bank checks, issuing HIPAA/PIPEDA BAA healthcare compliance statements, or licensing a standalone CASS/NCOA checkout address autocomplete API.

---

## 6. Print Turnaround & Delivery Windows

- Orders submitted before 11:00 AM Central typically print and enter the USPS mailstream the same business day.
- **USPS First Class Mail**: typically **5–10 business days** (estimated, not guaranteed) with Intelligent Mail Barcode (IMb) delivery webhooks.
- **USPS Standard Mail**: typically **10–20 business days** (estimated, not guaranteed).
