Lob

Lob Cards API

The cards endpoint allows you to easily create cards that can later be affixed to Letters. The API provides endpoints for creating cards, retrieving individual cards, creating card orders, and retrieving a list of cards. back to top

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /cards List my card inserts · List #
Ask an LLM
“Which printed cards do I have set up to include with letters?”
“Can I get a total count of my cards?”
Tell an agent
List my cards.
Show my {limit} newest cards.
POST /cards Create a card insert · Create #
Ask an LLM
“How do I design a card to attach to my letters?”
“What artwork do I need to create a card?”
Tell an agent
Create a card with front artwork {front}.
Make a {size} card with front {front} and back {back}.
GET /cards/{card_id} View a card insert · Retrieve #
Ask an LLM
“How do I look up one of my cards?”
“What settings does a particular card have?”
Tell an agent
Show card {card_id}.
Get the details of card {card_id}.
POST /cards/{card_id} Change a card's reorder settings · Update #
Ask an LLM
“Can I turn on automatic reordering for a card?”
“How do I change the reorder quantity on a card?”
Tell an agent
Turn on auto-reorder for card {card_id} at {reorder_quantity} units.
Update the description of card {card_id} to {description}.
DELETE /cards/{card_id} Delete a card insert · Delete #
Ask an LLM
“How do I get rid of a card design I no longer use?”
“Can I delete an old card?”
Tell an agent destructive · confirm first
Delete card {card_id}.
Remove card {card_id} from my account.
GET /cards/{card_id}/orders See print orders for a card · Retrieve #
Ask an LLM
“How do I see how many of a card I've ordered?”
“Which print orders exist for a specific card?”
Tell an agent
List the print orders for card {card_id}.
Show the order history of card {card_id}.
POST /cards/{card_id}/orders Order more card prints · Create #
Ask an LLM
“How do I order a new print run of a card?”
“Can I choose how many cards to print?”
Tell an agent
Order {quantity} prints of card {card_id}.
Restock card {card_id} with {quantity} copies.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lob:lob-cards-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lob-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lob Cards API
  version: 1.20.2
  description: Experience direct mail like never before, with unmatched personalization and scalability all in one intuitive platform.
  license:
    name: MIT
    url: https://mit-license.org/
  contact:
    name: Lob Developer Experience
    url: https://support.lob.com/
    email: lob-openapi@lob.com
  termsOfService: https://www.lob.com/legal
servers:
- url: https://api.lob.com/v1
  description: production
security:
- basicAuth: []
tags:


# --- truncated at 32 KB (56 KB total) ---
# Full source: https://artifacts.apis.io/lob/openapi/lob-cards-api-openapi.yml