Lob

Lob Campaigns API

The campaigns endpoint allows you to create and view campaigns that can be used to send multiple letters or postcards. The API provides endpoints for creating campaigns, updating campaigns, retrieving individual campaigns, listing campaigns, and deleting campaigns.

GitHub OpenAPI
Business capability
Demand Generation Management BC-400.40

Operations 6

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 /campaigns List my mail campaigns · List #
Ask an LLM
“Where can I see all the direct mail campaigns I've created?”
“Can I get a total count of my campaigns?”
Tell an agent
List my campaigns.
Show my {limit} most recent campaigns.
POST /campaigns Create a direct mail campaign · Create #
Ask an LLM
“How do I set up a new direct mail campaign?”
“Can I schedule a campaign for a target delivery date?”
Tell an agent
Create a campaign called {name} with schedule type {schedule_type}.
Set up campaign {name} to mail on {send_date}.
GET /campaigns/{cmp_id} View a campaign's details · Retrieve #
Ask an LLM
“How do I look at the settings of one campaign?”
“What schedule is a particular campaign set to?”
Tell an agent
Show campaign {cmp_id}.
Get the details of campaign {cmp_id}.
PATCH /campaigns/{cmp_id} Change a campaign's settings · Update #
Ask an LLM
“Can I change the send date of a campaign I already created?”
“How do I rename a campaign or change its schedule?”
Tell an agent
Rename campaign {cmp_id} to {name}.
Move the send date of campaign {cmp_id} to {send_date}.
DELETE /campaigns/{cmp_id} Delete a campaign · Delete #
Ask an LLM
“How do I delete a campaign I don't need anymore?”
“Can I remove a draft campaign?”
Tell an agent destructive · confirm first
Delete campaign {cmp_id}.
Remove campaign {cmp_id} from my account.
POST /campaigns/{cmp_id}/send Send a campaign out · Send Campaign #
Ask an LLM
“How do I launch a campaign once it's ready?”
“What do I do to actually send a campaign to print?”
Tell an agent
Send campaign {cmp_id}.
Launch campaign {cmp_id} now.

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-campaigns-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-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lob Campaigns 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 (57 KB total) ---
# Full source: https://artifacts.apis.io/lob/openapi/lob-campaigns-api-openapi.yml