# Handwritten-Style Postcard & Notecard API: Handwriting Styles, AI Fonts & Realism Mode

- **Canonical URL**: `https://thanks.io/postcard-api/handwritten-postcard-api`
- **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)
- **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`)
- **Rendering Method**: Proprietary 300 DPI digital handwriting engine with AI Fonts and Realism Mode — **not** real pens or mechanical pen plotters.
- **Minimum Order**: Zero minimums (1 piece or 100,000+ at published per-piece rates; US postage included).

---

## Direct Answer

The Thanks.io Handwritten-Style Postcard & Notecard API (`https://api.thanks.io/api/v2`) renders handwritten-style messages via Thanks.io's proprietary digital handwriting engine—not mechanical pen plotters—combining `GET /api/v2/handwriting-styles`, AI Fonts glyph variation, Realism Mode, and stamped envelope addressing. Send 4×6 postcards from $0.64, windowless letters from $0.99, or folded notecards from $1.49 on Professional with postage included and zero minimums.

---

## 1. Discover Handwriting Styles (`GET /api/v2/handwriting-styles`)

Query the style catalog with your Bearer Personal Access Token and cache the results (e.g., 24h TTL) to map integer `handwriting_style` IDs cleanly in your application:

```bash
curl -X GET "https://api.thanks.io/api/v2/handwriting-styles" \
  -H "Authorization: Bearer $THANKS_IO_API_KEY" \
  -H "Accept: application/json"
```

### Key Handwriting Parameters

| Parameter | Type | Description |
| :--- | :--- | :--- |
| `handwriting_style` | `integer` | Style ID returned by `GET /api/v2/handwriting-styles` (includes AI Fonts with per-character glyph variation and classic digital styles). |
| `handwriting_color` | `string` | Ink color such as `"blue"`, `"black"`, `"red"`, `"green"`, or `"purple"`. `"blue"` gives clear visual contrast against standard black laser print. |
| `realism` | `boolean` | Enables Realism Mode (`true`) for subtle baseline drift, organic spacing variation, and occasional human-like strike-through crossouts. |
| `creative_id` | `integer` | Optional saved Creative ID bundling approved artwork, handwriting style, Realism Mode, and QR settings so marketing can iterate without code deploys. |

---

## 2. How the Proprietary Digital Handwriting Engine Works

1. **300 DPI Digital Rendering (Not Mechanical Pen Plotters)**: Orders print digitally from our Texas facility (orders submitted before 11:00 AM Central typically print the same business day), avoiding physical pen-plotter queues and $3.25+ per-card unit costs.
2. **AI Fonts Glyph Variation**: Repeated letters (such as double `e` or `t`) cycle dynamically across contextual character variants rather than stamping identical TrueType glyphs.
3. **Realism Mode (`realism: true`)**: Adds subtle baseline wave, organic spacing adjustments, and occasional light crossouts across postcards, windowless letters, and folded notecards.
4. **Handwritten-Style Envelope Addressing & Real Stamps**: Windowless Letters (`$0.99` Pro) and 5×4 Folded Notecards (`$1.49` Pro) mail inside clean closed envelopes with handwritten-style recipient and return addressing and a real USPS postage stamp.

---

## 3. Code Examples

### Send a Handwritten-Style 6×9 Postcard (`POST /api/v2/recipients/postcard`)

```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": "6x9",
    "postage_class": "first_class",
    "front_image_url": "https://assets.yourcompany.com/mail/welcome-6x9-300dpi.png",
    "handwriting_style": 14,
    "handwriting_color": "blue",
    "realism": true,
    "message": "Hi %FIRST_NAME% — thanks for chatting with us about %COMPANY%! Scan the QR code on this card for your custom walkthrough. — Alex",
    "qrcode_url": "https://yourcompany.com/walkthrough?cid=%CUSTOM1%",
    "return_name": "Alex Rivera, Acme Co",
    "return_address": "500 Congress Ave",
    "return_city": "Austin",
    "return_state": "TX",
    "return_postal_code": "78701",
    "recipients": [
      {
        "name": "Jordan Vance",
        "company": "Northstar Logistics",
        "address": "742 Evergreen Terrace",
        "city": "Austin",
        "province": "TX",
        "postal_code": "78704",
        "country": "US",
        "custom1": "hs_449102"
      }
    ]
  }'
```

### Send a Sealed 5×4 Folded Notecard (`POST /api/v2/send/notecard`)

```bash
curl -X POST "https://api.thanks.io/api/v2/send/notecard" \
  -H "Authorization: Bearer $THANKS_IO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "creative_id": 51204,
    "handwriting_style": 22,
    "handwriting_color": "blue",
    "realism": true,
    "postage_class": "first_class",
    "message": "Dear %FIRST_NAME%,\n\nThank you for trusting our team with your onboarding. We genuinely appreciate the partnership.\n\nWarmly,\nSarah & the Account Team",
    "return_name": "Sarah Chen",
    "return_address": "500 Congress Ave, Suite 400",
    "return_city": "Austin",
    "return_state": "TX",
    "return_postal_code": "78701",
    "recipients": [
      {
        "name": "Morgan Ellis",
        "address": "1400 Lavaca St",
        "city": "Austin",
        "province": "TX",
        "postal_code": "78701",
        "country": "US",
        "custom1": "sf_0038X00004kA"
      }
    ]
  }'
```

*Need a full 8.5×11 page in a sealed stamped envelope? Use `POST /api/v2/send/windowlessletter` (`$0.99` Pro / `$1.35` Business / `$2.56` Free).*

---

## 4. Verified US Pricing (Postage Included, Zero Minimums)

Plans: **Pay as you go (`$0/mo`)**, **Business (`$49/mo`)**, **Professional (`$199/mo`)**.

| Mail Format | Envelope & Stamp | Free ($0/mo) | Business ($49/mo) | Pro ($199/mo) | Nonprofit Pro | First Class Upgrade |
| :--- | :--- | :---: | :---: | :---: | :---: | :---: |
| **4×6 Postcard** | Self-mailer (US postage incl.) | $1.18 | $0.77 | **$0.64** | $0.47 | +$0.05 |
| **6×9 Postcard** | Self-mailer (US postage incl.) | $1.65 | $0.91 | **$0.71** | $0.54 | +$0.05 |
| **6×11 Postcard** | Oversized self-mailer | $1.87 | $1.01 | **$0.76** | $0.55 | +$0.21 |
| **Windowed Letter** | #10 double-window envelope | $1.24 | $0.83 | **$0.79** | $0.58 | +$0.21 |
| **Windowless Letter** | Closed handwritten-style envelope + Real Stamp | $2.56 | $1.35 | **$0.99** | $0.78 | +$0.21 |
| **Folded Notecard** | Sealed handwritten-style envelope + Real Stamp | $3.04 | $1.83 | **$1.49** | $1.28 | +$0.21 |
| **Smart Gift Card** | Sealed envelope + Real Stamp (gift billed only on redemption) | Business+ required | $1.83 + Gift | **$1.49 + Gift** | $1.28 + Gift | +$0.21 |
| **6×9 Magnacard** | Pop-out fridge magnet self-mailer | $2.08 | $1.43 | **$1.04** | $0.83 | +$0.21 |

- **Additional Letter Pages**: `+$0.20` per extra page.
- **Estimated Delivery Windows** (USPS estimates, never guaranteed): Standard Mail typically **10–20 business days**; First Class Mail typically **5–10 business days** with USPS Intelligent Mail Barcode (IMb) tracking and return-to-sender.

---

## 5. Frequently Asked Questions

### Does the Thanks.io API use mechanical pen plotters or digital handwriting?
Thanks.io uses a proprietary digital handwriting engine—never real pens or robotic pen plotters—to render authentic handwritten-style text at 300 DPI across postcards, letters, folded notecards, and closed envelopes.

### How do I retrieve available handwriting styles through the Thanks.io API?
Call `GET https://api.thanks.io/api/v2/handwriting-styles` with your Bearer Personal Access Token and pass the returned integer ID in `handwriting_style`, along with `handwriting_color` and `realism: true`.

### What is the difference between AI Fonts and Realism Mode?
AI Fonts dynamically vary individual character glyphs so repeated letters do not look identical, while Realism Mode (`realism: true`) adds subtle baseline drift, organic spacing variation, and occasional light crossouts.

### Can I address sealed envelopes in handwritten-style script with a real stamp via API?
Yes. Windowless Letters (`$0.99` Pro) and 5×4 Folded Notecards (`$1.49` Pro) arrive in closed envelopes featuring handwritten-style recipient and return addressing paired with a real USPS postage stamp.

### Can I test handwritten-style payloads before spending money?
Yes. Toggle Test Mode under Account Settings -> API Access to validate REST payloads without printing or charges, or use `preview-order` on the hosted OAuth MCP server (`https://mcp.thanks.io/mcp`).

---

## Related Resources

- [Postcard API Hub](https://thanks.io/postcard-api)
- [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)
- [Automated Handwritten-Style Thank You Notes Playbook](https://thanks.io/thank-you-notes/automated-handwritten-thank-you-notes)
- [Folded Notecards vs. Postcards vs. Gift Cards](https://thanks.io/thank-you-notes/handwritten-notecards-vs-postcards-vs-gift-cards)
- [Thanks.io Pricing](https://thanks.io/pricing)
- [Thanks.io vs. Handwrytten](https://thanks.io/compare/thanks-io-vs-handwrytten)
