Skip to main content
The Lob replica implements 28 endpoints of the Print & Mail API v1. Nothing is printed or mailed: tracking follows the scene clock, and mail to an address the postal directory does not know, or a vacant one, comes back. Its key is lob. It was tested with @lob/lob-typescript-sdk.

Connect

Node
This is what ancha connect lob --lang ts prints. The SDK rejects proof links on any host but lob-assets.com, which is why the replica returns those and serves the files under LOB_ASSETS_URL.

Endpoints

All 28 endpoints are partial. Anything else returns HTTP 501 with Lob’s error shape and x-ancha-gap: 1. Lists take limit, before and after cursors, include=total_count, and date_created and metadata filters; mail lists also take scheduled, send_date, mail_type and sort_by.

Starter data

The lob-starter dataset is Acme’s account, with a five-minute cancellation window and a postal directory of eight commercial addresses, one of them vacant.

Checks

Lob has no state checks. Use trace checks, for example { called: "POST /v1/letters" } or { not_called: "POST /v1/checks" }.

Limits

  • Nothing is printed or mailed: USPS tracking follows the scene clock, and mail to an address the postal directory does not know, or a vacant one, comes back.
  • Pass LOB_API_URL as the SDK’s basePath and LOB_API_KEY as its username. Fetch proof links under LOB_ASSETS_URL.
  • US verification consults the world’s postal directory. File URLs are recorded, never fetched; no thumbnails, self-mailers, campaigns, international verification or webhooks.