Lob

Lob Uploads API

The uploads endpoint allows you to upload audience files that are then associated with a given campaign. At this time, only CSV files are allowed. The API provides endpoints for creating uploads, uploading audience files, and marking uploaded files as ready for processing. The API also provides endpoints for downloading files that describe the results, both successful and not, of the processing.

GitHub OpenAPI

Operations 9

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 /uploads List my campaign audience uploads · List #
Ask an LLM
“Where can I see the mailing lists I've uploaded?”
“Can I see only the uploads for one campaign?”
Tell an agent
List my uploads.
Show uploads for campaign {campaignId}.
POST /uploads Start an audience upload for a campaign · Create #
Ask an LLM
“How do I start adding a mailing list to a campaign?”
“Can I map my spreadsheet columns to address fields?”
Tell an agent
Create an upload for campaign {campaignId}.
Start an upload on campaign {campaignId} with column mapping {requiredAddressColumnMapping}.
GET /uploads/{upl_id} Check on an audience upload · Retrieve #
Ask an LLM
“How do I see the status of a mailing list I uploaded?”
“What details are stored for a specific upload?”
Tell an agent
Show upload {upl_id}.
Get the status of upload {upl_id}.
PATCH /uploads/{upl_id} Change an upload's column mapping · Update #
Ask an LLM
“Can I fix how my spreadsheet columns map to address fields after uploading?”
“How do I rename the file on an existing upload?”
Tell an agent
Update the address column mapping on upload {upl_id} to {requiredAddressColumnMapping}.
Rename the file on upload {upl_id} to {originalFilename}.
DELETE /uploads/{upl_id} Delete an audience upload · Delete #
Ask an LLM
“How do I remove a mailing list upload I made by mistake?”
“Can I delete an upload from a campaign?”
Tell an agent destructive · confirm first
Delete upload {upl_id}.
Remove upload {upl_id} from its campaign.
POST /uploads/{upl_id}/file Attach an audience file to an upload · Upload file #
Ask an LLM
“How do I upload my mailing list spreadsheet for a campaign?”
“Where do I attach the CSV of recipients to an upload?”
Tell an agent
Attach file {file} to upload {upl_id}.
Upload my audience list to upload {upl_id}.
POST /uploads/{upl_id}/exports Export failed records from an upload · Create Export #
Ask an LLM
“How do I find out which rows in my mailing list could not be created?”
“Can I export the records that failed in a campaign upload?”
Tell an agent
Export the failed records from upload {upl_id}.
Create a {type} export for upload {upl_id}.
GET /uploads/{upl_id}/report See row-by-row results of an upload · Retrieve Line Item Report #
Ask an LLM
“How do I see which rows of my mailing list succeeded or failed?”
“Can I filter an upload's line items by status?”
Tell an agent
Show the line item report for upload {upl_id}.
List rows with status {status} in upload {upl_id}.
GET /uploads/{upl_id}/exports/{ex_id} Check on an upload export · Retrieve Export #
Ask an LLM
“How do I get the results of an export I started?”
“Is my upload export ready to download yet?”
Tell an agent
Show export {ex_id} for upload {upl_id}.
Get the status of export {ex_id} on upload {upl_id}.

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