Skip to main content
New to Corsair? See API access, authentication, and error handling.

Account

getBalance

account.getBalance Read the account’s current Lob Credits balance (live keys only; a test key gets 401) Risk: read
Input: empty object Returns the Lob Credits balance; it can be negative. Needs a live key: Lob answers a test key with 401 invalid_api_key here, though every other route accepts it. Output

Addresses

create

addresses.create Create a US or international address in the Lob address book for reuse as a mail to or from address Risk: write
Input Lob requires name or company (at least one). Omitting address_country means US, which requires the city, two-letter state and a US ZIP. Output

delete

addresses.delete Permanently delete an address book entry. Lob marks it deleted and does not restore it Risk: destructive · Irreversible
Input Marks the entry deleted. Lob does not restore it, and mail already queued to that address still processes. Output

get

addresses.get Read one address book entry by its adr_ ID Risk: read
Input Output

list

addresses.list Page through the address book with before/after cursors, optional metadata and date filters Risk: read
Input Page with before or after (never both), up to 100 rows. total_count arrives only when you pass include: ['total_count'].
Output

Autocomplete

usAutocomplete

autocomplete.usAutocomplete Complete a partial US address into up to 10 suggestion lines, optionally restricted to deliverable addresses Risk: read
Input geo_ip_sort ranks by caller IP; the plugin does not send the X-Forwarded-For header Lob uses to pass the end user IP through. Output

Bank Accounts

create

bankAccounts.create Add a US bank account for checks. Lob sends micro-deposits that bankAccounts.verify confirms Risk: write
Input Output

delete

bankAccounts.delete Permanently delete a bank account. Checks can no longer draw on it Risk: destructive · Irreversible
Input Output

get

bankAccounts.get Read one bank account by its bank_ ID, including whether it is verified Risk: read
Input Output

list

bankAccounts.list Page through bank accounts with cursors, date and metadata filters Risk: read
Input
Output

verify

bankAccounts.verify Verify a bank account with its two micro-deposit amounts or its descriptor code Risk: write
Input Pass the two micro-deposit amounts in cents, or the six-character descriptor_code (starts with SM), depending on the account’s microdeposit_type. Output

Billing Groups

create

billingGroups.create Create a billing group to split mail costs by team or client Risk: write
Input Output

get

billingGroups.get Read one billing group by its bg_ ID Risk: read
Input Output

list

billingGroups.list Page through billing groups with limit/offset, date filters and sorting Risk: read
Input
Output

update

billingGroups.update Change a billing group’s name or description Risk: write
Input Output

Booklets

cancel

booklets.cancel Cancel a booklet before it goes to production. A cancelled piece cannot be restored Risk: destructive · Irreversible
Input Output

get

booklets.get Read one booklet by its ord_ ID, including status and tracking events Risk: read
Input Output

list

booklets.list Page through booklets with cursors and filters (status, campaign, send date, metadata) Risk: read
Input
Output

send

booklets.send Print and mail a real booklet. Billed per piece and not recallable once in production; pass an idempotency_key Risk: destructive · Irreversible
Input
Output

Buckslips

create

buckslips.create Create a buckslip (a letter insert) from front and back artwork. Printing happens only when you order stock Risk: write
Input Output

createOrder

buckslips.createOrder Order a print run of a buckslip (at least 5,000). Lob prints and bills the whole order Risk: destructive · Irreversible
Input Output

delete

buckslips.delete Permanently delete a buckslip Risk: destructive · Irreversible
Input Output

get

buckslips.get Read one buckslip by its bck_ ID, including stock quantities and status Risk: read
Input Output

list

buckslips.list Page through buckslips with cursors Risk: read
Input Output

listOrders

buckslips.listOrders List the print orders placed for a buckslip Risk: read
Input Output

update

buckslips.update Change a buckslip’s description or auto-reorder settings. Auto-reorder places billed print orders when stock runs low Risk: destructive
Input Output

Campaigns

create

campaigns.create Create a draft campaign for bulk mail. Nothing mails until campaigns.send Risk: write
Input Output

delete

campaigns.delete Permanently delete a campaign Risk: destructive · Irreversible
Input Output

get

campaigns.get Read one campaign by its cmp_ ID, with its creatives and uploads Risk: read
Input Output

list

campaigns.list Page through campaigns with cursors Risk: read
Input Output

send

campaigns.send Send a campaign: Lob prints, mails and bills a piece for every row of its audience upload. Cannot be undone after the cancel window Risk: destructive · Irreversible
Input Mails every validated row of the campaign upload. Check uploads.getReport first. Output

update

campaigns.update Change a campaign’s name, schedule, use type or other settings Risk: write
Input Output

Cards

create

cards.create Create a card (a plastic or paper insert) from front and back artwork. Printing happens only when you order stock Risk: write
Input Output

createOrder

cards.createOrder Order a print run of a card (at least 10,000). Lob prints and bills the whole order Risk: destructive · Irreversible
Input Output

delete

cards.delete Permanently delete a card Risk: destructive · Irreversible
Input Output

get

cards.get Read one card by its card_ ID, including stock quantities and status Risk: read
Input Output

list

cards.list Page through cards with cursors Risk: read
Input Output

listOrders

cards.listOrders List the print orders placed for a card Risk: read
Input Output

update

cards.update Change a card’s description or auto-reorder settings. Auto-reorder places billed print orders when stock runs low Risk: destructive
Input Output

Checks

cancel

checks.cancel Cancel a check before it goes to production. A cancelled check cannot be restored Risk: destructive · Irreversible
Input Output

get

checks.get Read one check by its chk_ ID, including status, tracking events and the PDF preview URL Risk: read
Input Output

list

checks.list Page through checks with cursors and filters (status, send date, metadata) Risk: read
Input
Output

send

checks.send Print and mail a real check drawn on a verified bank account. Moves money and is billed per piece; pass an idempotency_key so a replay returns the original check Risk: destructive · Irreversible
Input Draws on a verified bank account (bankAccounts.create, then bankAccounts.verify). Provide message or check_bottom, not both. Test keys never move money.
Output

Creatives

create

creatives.create Add the artwork (a postcard, letter or self mailer creative) to a campaign Risk: write
Input
Output

get

creatives.get Read one creative by its crv_ ID Risk: read
Input Output

update

creatives.update Change a creative’s return address, description or metadata Risk: write
Input
Output

Domains

create

domains.create Register a custom domain for short links Risk: write
Input Output

delete

domains.delete Permanently delete a short-link domain; its links stop resolving Risk: destructive · Irreversible
Input Output

get

domains.get Read one short-link domain, including whether its DNS is configured Risk: read
Input Output

list

domains.list Page through short-link domains Risk: read
Input Output

Identity Validation

validate

identityValidation.validate Score how likely a person or company is associated with a US address (0-100, with a high/medium/low confidence) Risk: read
Input Output

Informed Delivery

create

informedDelivery.create Create a USPS Informed Delivery campaign (an email preview with a ride-along image and link). Lob approves it on create unless status is ‘pending_approval’ Risk: write
Input
Output

get

informedDelivery.get Read one Informed Delivery campaign by its USPS campaign ID Risk: read
Input Output

list

informedDelivery.list List USPS Informed Delivery campaigns Risk: read
Input: empty object Output

update

informedDelivery.update Change an Informed Delivery campaign’s details or approve it Risk: write
Input
Output

Intl Verifications

bulk

intlVerifications.bulk Verify up to 20 international addresses in one call; each row comes back as a verification or a per-row error. Bills each row on a live key Risk: read
Input
Output

verify

intlVerifications.verify Verify one international address and get its deliverability, coverage level and parsed components Risk: read
Input The country code selects international processing; it must not be US. A live key bills each verification. Output

Letters

cancel

letters.cancel Cancel a letter before it goes to production. Works only within the cancellation window; a cancelled piece cannot be restored Risk: destructive · Irreversible
Input Output

get

letters.get Read one letter by its ltr_ ID, including tracking number and events on certified or registered mail Risk: read
Input tracking_number and tracking_events appear on certified and registered mail. Output

list

letters.list Page through letters with cursors and filters (status, color, campaign, send date, metadata) Risk: read
Input
Output

send

letters.send Send a real letter that Lob prints, stuffs and mails. Each piece is billed and cannot be recalled once in production; pass an idempotency_key so a replay returns the original instead of mailing twice Risk: destructive · Irreversible
Input Bills a physical mailpiece. color is required by Lob (defaults to false server-side). extra_service adds certified or registered tracking and its fees. With an idempotency_key, replays within 24 hours return the original piece.
Output

create

links.create Create a short link that redirects to a long URL Risk: write
Input Output

delete

links.delete Permanently delete a short link; printed copies stop resolving Risk: destructive · Irreversible
Input Output

get

links.get Read one short link Risk: read
Input Output

list

links.list Page through short links, optionally by campaign or domain Risk: read
Input Output

update

links.update Change a short link’s target URL, title or metadata Risk: write
Input Output

Postcards

cancel

postcards.cancel Cancel a postcard before it goes to production. Works only within the cancellation window; a cancelled piece cannot be restored Risk: destructive · Irreversible
Input Output

get

postcards.get Read one postcard by its psc_ ID, including print status and the signed PDF preview URL Risk: read
Input The signed url expires after 30 days. status moves through rendered and processed (or failed with a failure_reason). Output

list

postcards.list Page through postcards with cursors and filters (status, size, campaign, send date, metadata) Risk: read
Input
Output

send

postcards.send Send a real postcard that Lob prints and mails. Each piece is billed and cannot be recalled once in production; pass an idempotency_key so a replay returns the original instead of mailing twice Risk: destructive · Irreversible
Input Bills a physical mailpiece. use_type is required by Lob and accepts marketing or operational (null only when the account has a default use type set in Lob’s settings); size defaults to 4x6. With an idempotency_key, replays within 24 hours return the original piece.
Output

Qr Codes

list

qrCodes.list List QR code scan analytics for mailpieces, optionally only scanned codes or given piece IDs Risk: read
Input
Output

Resource Proofs

create

resourceProofs.create Render a proof of a postcard, letter or self mailer for review, without mailing anything Risk: write
Input Output

get

resourceProofs.get Read one resource proof by its res_prf_ ID, including the rendered PDF URL Risk: read
Input Output

update

resourceProofs.update Re-render a resource proof with a different template Risk: write
Input Output

Reverse Geocode

lookup

reverseGeocode.lookup Find the US ZIP and ZIP+4 areas nearest a latitude and longitude, sorted by distance Risk: read
Input Output

Self Mailers

cancel

selfMailers.cancel Cancel a self mailer before it goes to production. A cancelled piece cannot be restored Risk: destructive · Irreversible
Input Output

get

selfMailers.get Read one self mailer by its sfm_ ID, including status and tracking events Risk: read
Input Output

list

selfMailers.list Page through self mailers with cursors and filters (status, size, campaign, send date, metadata) Risk: read
Input
Output

send

selfMailers.send Print and mail a real self mailer (a folded piece, no envelope). Billed per piece and not recallable once in production; pass an idempotency_key Risk: destructive · Irreversible
Input
Output

Snap Packs

cancel

snapPacks.cancel Cancel a snap pack before it goes to production. A cancelled piece cannot be restored Risk: destructive · Irreversible
Input Output

get

snapPacks.get Read one snap pack by its ord_ ID, including status and tracking events Risk: read
Input Output

list

snapPacks.list Page through snap packs with cursors and filters (status, campaign, send date, metadata) Risk: read
Input
Output

send

snapPacks.send Print and mail a real snap pack (a sealed pressure-seal mailer). Billed per piece and not recallable once in production; pass an idempotency_key Risk: destructive · Irreversible
Input
Output

Templates

create

templates.create Save an HTML template that mailpieces can name by tmpl_ ID Risk: write
Input Output

delete

templates.delete Permanently delete a template and its versions Risk: destructive · Irreversible
Input Output

get

templates.get Read one template by its tmpl_ ID, with its published version Risk: read
Input Output

list

templates.list Page through templates with cursors, date and metadata filters Risk: read
Input
Output

update

templates.update Change a template’s description or which version is published Risk: write
Input Output

Template Versions

create

templateVersions.create Add a new HTML version to a template Risk: write
Input Output

delete

templateVersions.delete Permanently delete a template version (not the published one) Risk: destructive · Irreversible
Input Output

get

templateVersions.get Read one template version by its vrsn_ ID Risk: read
Input Output

list

templateVersions.list Page through a template’s versions Risk: read
Input
Output

update

templateVersions.update Change a template version’s description, engine or required variables Risk: write
Input Output

Uploads

create

uploads.create Create an audience upload for a campaign and map its CSV columns to address fields and merge variables Risk: write
Input Output

createExport

uploads.createExport Start an export of an upload’s rows (all, failures or successes) Risk: write
Input Output

delete

uploads.delete Permanently delete an audience upload Risk: destructive · Irreversible
Input Lob answers 204 with no body; the plugin returns { id, deleted: true }. Output

get

uploads.get Read one upload by its upl_ ID, including processing state and row counts Risk: read
Input Output

getExport

uploads.getExport Read an upload export, including its download URL once ready Risk: read
Input Output

getReport

uploads.getReport Page through an upload’s per-row validation report Risk: read
Input Output

list

uploads.list List audience uploads, optionally for one campaign Risk: read
Input Lob answers a bare array here, not the list envelope. Output: object[]

update

uploads.update Change an upload’s column mappings or metadata Risk: write
Input Output

uploadFile

uploads.uploadFile Attach the audience CSV file (at most 50 MiB here) to an upload; Lob validates its rows asynchronously Risk: write
Input
Output

Us Verifications

bulk

usVerifications.bulk Verify up to 20 US addresses in one synchronous call; each row comes back as a verification or a per-row error Risk: read
Input Requires a live API key; a test key answers a dummy response. Each input row returns a verification or a row error, and the top-level errors flag says whether any row failed.
Output

verify

usVerifications.verify Verify one US address with USPS data and get its deliverability, standardized components and confidence score Risk: read
Input Verify with either the single-line address field, or the component fields (primary_line plus zip_code, or primary_line plus city and state). Test keys simulate outcomes: a primary line containing undeliverable comes back undeliverable. Output

Zip

usZipLookup

zip.usZipLookup Look up a 5-digit US ZIP code and get its cities, county, FIPS code and default city Risk: read
Input Accepts exactly five digits. The first city in cities is the USPS default and carries preferred: true. Output