Lob API

Number of APIs: 71

Lob helps creators extend their applications into the physical world with automated direct mail and address verification APIs.

Get started in the way that works best for you:

  • Watch our 10-minute video walkthrough showing how to get started with Lob API collections.

  • Explore our API documentatation: docs.lob.com

  • Read through our Getting Started guide below

Need more help? Contact us at support@lob.com

Getting Started

Sign up for a free Lob account

Your API keys are located under Settings.

You'll use the SECRET API KEYS that begin with test. for your Test API key and live. for your Live API key.

In order to use the collections in this public workspace, you'll select the Lob API collection and fork it into your personal workspace.

You'll also want to setup environment variables. A short cut is to fork Lob Public Env from Lob's public workspace. You also have the option to create them yourself - see the image below.

Set the Current Value for LIVEAPIKEY and TESTAPIKEY to your Lob live and test API keys and click Save.

Make sure Lob Public Env is selected in the environment menu.

Start exploring Lob's API collection

The Test API key is used for all print & mail related endpoints while the Live API key is used for the address verification endpoint.

  1. Reverse Geocode - Lookup POST {{baseUrl}}/us_reverse_geocode_lookups?size=5

  2. Campaign Creatives - Create POST {{baseUrl}}/creatives

  3. Addresses - List all addresses GET {{baseUrl}}/addresses

  4. Billing Groups - Retrieve billing group with given id GET {{baseUrl}}/billing_groups/:bg_id

  5. Campaign Uploads - Update PATCH {{baseUrl}}/uploads/:upl_id

  6. Address Verification (US) - Verify a US or US territory address with a live API key. POST {{baseUrl}}/us_verifications?case=upper

  7. Addresses - Creates a new address object POST {{baseUrl}}/addresses

  8. Cards - Create a new card POST {{baseUrl}}/cards

  9. Cards - List of your cards GET {{baseUrl}}/cards

  10. Letters - List all letters GET {{baseUrl}}/letters