Lob

Lob Versions API

The Versions API from Lob — 2 operation(s) for versions.

GitHub OpenAPI

Operations 5

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 /templates/{tmpl_id}/versions/{vrsn_id} View one version of a template · Retrieve #
Ask an LLM
“How do I look at an older version of a mail template?”
“What does a specific template version contain?”
Tell an agent
Show version {vrsn_id} of template {tmpl_id}.
Get template {tmpl_id} version {vrsn_id}.
POST /templates/{tmpl_id}/versions/{vrsn_id} Edit a template version's details · Update #
Ask an LLM
“Can I change the description of one template version?”
“How do I update the required merge fields on a template version?”
Tell an agent
Change the description of version {vrsn_id} of template {tmpl_id} to {description}.
Set required variables {required_vars} on template {tmpl_id} version {vrsn_id}.
DELETE /templates/{tmpl_id}/versions/{vrsn_id} Delete a template version · Delete #
Ask an LLM
“How do I delete an old version of a template?”
“Can I delete the version a template currently publishes?”
Tell an agent destructive · confirm first
Delete version {vrsn_id} of template {tmpl_id}.
Permanently remove template {tmpl_id} version {vrsn_id}.
GET /templates/{tmpl_id}/versions List a template's versions · List #
Ask an LLM
“How do I see every version saved for a template?”
“Can I see a template's version history in date order?”
Tell an agent
List the versions of template {tmpl_id}.
Show the version history for template {tmpl_id}.
POST /templates/{tmpl_id}/versions Save a new version of a template · Create #
Ask an LLM
“How do I update the HTML design of an existing template?”
“Can I add a new design version without losing the old one?”
Tell an agent
Add a new version to template {tmpl_id} with HTML {html}.
Save HTML {html} as a new version of template {tmpl_id} described as {description}.

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