How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Lob.com Creatives API

The creatives endpoint allows you to create and view creatives. Creatives are used to createreusable letter and postcard templates. The API provides endpoints for creating creatives, updating creatives,retrieving individual creatives, and deleting creatives.

Lob.com Creatives API is one of 32 APIs that Lob.com publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Creatives. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 3 operations across 2 paths, and defines 53 schemas. It is described by OpenAPI 3.2.0, at version 1.22.0.

Requests are made against a single base URL, https://api.lob.com/v1.

3 operations 2 paths 53 schemas 1 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.22.0
Base URL
https://api.lob.com/v1
Authentication
HTTP Basic
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Lob.com Creatives API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 1 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Creatives 3

The creatives endpoint allows you to create and view creatives. Creatives are used to create reusable letter and postcard templates. The API provides endpoints for creating creati…

POST
/creatives
Create
creative_create 1 param body → 200default
GET
/creatives/{crv_id}
Retrieve
creative_retrieve 1 param → 200default
PATCH
/creatives/{crv_id}
Update
creative_update 1 param body → 200default

Schemas 53

The contract defines 53 schemas that model the data the API accepts and returns. The most detailed are campaign_writable (11 properties), writable-2 (10 properties), returned-3 (9 properties), qr_code_campaigns (8 properties). Each schema is shown below with its type and property counts.

returned-2
objectnull
A nested custom envelope object containing more information about the custom envelope used or null if a custom envelope was not used.
3 properties 3 required
tmpl_id
string
Unique identifier prefixed with tmpl. ID of a saved [HTML template](section/HTML-Templates).
card_id
string
Unique identifier prefixed with card.
extra_service
stringnull
Add an extra service to your letter. Can only be non-null if mailtype isn't uspsstandard. See pricing for extra costs incurred. certified - track and confirm d…
crv_file
Notes: - HTML merge variables should not include delimiting whitespace. - All pages of a supplied PDF file must be sized at 8.5"x11", while supplied HTML will…
error
object
Lob uses RESTful HTTP response codes to indicate success or failure of an API request. In general, 2xx indicates success, 4xx indicate an input error, and 5xx…
1 property 1 required
crv_id
string
Unique identifier prefixed with crv.
returned-4
object
Properties that the self mailers in your Creative should have. See the qrcode attribute below to add a QR code to your creative.
4 properties
double_sided
boolean
Set this attribute to true for double sided printing, or false for for single sided printing. Defaults to true.
company
stringnull
Either name or company is required, you may also add both. Must be no longer than 40 characters. If both name and company are provided, they will be printed on…
crv_outside
The artwork to use as the outside of your self mailer creative. Notes: - HTML merge variables should not include delimiting whitespace. - PDF, PNG, and JPGs mu…
campaign_list
array
Array of campaigns associated with the creative ID
writable-3
object
Properties that the self mailers in your Creative should have. See the qrcode attribute below to add a QR code to your creative.
3 properties 1 required
creative_base
object
3 properties
local_file_path
string
The path to a local file.
creative_writable
letter_add_on_types
string
color
boolean
Set this key to true if you would like to print in color. Set to false if you would like to print in black and white.
campaign_item
lob_base
object
4 properties 3 required
metadata
object
Use metadata to store custom information for tagging and labeling back to your internal systems. Must be an object with up to 20 key-value pairs. Keys must be…
failure_status_code
integer
A conventional HTTP status code: 401 - Authorization error with your API key or account 403 - Forbidden error with your API key or account 404 - The requested…
cmp_schedule_type
string
How the campaign should be scheduled. Only value available today is immediate.
returned_resource
adr_id
string
Unique identifier prefixed with adr.
postcard_size
string
Specifies the size of the postcard. Only 4x6 postcards can be sent to international destinations.
buckslip_id
string
Unique identifier prefixed with bck.
address_placement
string
Specifies the location of the address information that will show through the double-window envelope. To see how this will impact your letter design, view our l…
date_created
string
A timestamp in ISO 8601 format of the date the resource was created.
resource_description
stringnull
An internal description that identifies this resource. Must be no longer than 255 characters.
inline_address_us
address_editable_us
crv_back
The artwork to use as the back of your postcard creative. Notes: - HTML merge variables should not include delimiting whitespace. - PDF, PNG, and JPGs must be…
creative
campaign_writable
object
11 properties 3 required
print_speed
stringnull
A string designating the mail speed type: core - 2 production business days
crv_front
The artwork to use as the front of your postcard. Notes: - HTML merge variables should not include delimiting whitespace. - PDF, PNG, and JPGs must be sized at…
address_fields_us
object
5 properties 4 required
date_modified
string
A timestamp in ISO 8601 format of the date the resource was last modified.
returned-3
object
Properties that the letters in your Creative should have. See the qrcode attribute below to add a QR code to your creative.
9 properties
returned
object
Properties that the postcards in your Creative should have. See the qrcode attribute below to add a QR code to your creative.
4 properties
qr_code_campaigns
object
Customize and place a QR code on all the postcards, letters or self mailers in a campaign. Redirect URLs are fully customizable i.e. they can be standard singl…
8 properties 2 required
user_provided
stringnull
Accepts an envelope ID for any customized envelope with available inventory. If no inventory is available for the specified ID, the letter will not be sent, an…
mail_type
string
A string designating the mail postage type: uspsfirstclass - (default) uspsstandard - a cheaper option which is less predictable and takes longer to deliver. u…
from_attribute
Must either be an address ID or an inline object with correct address parameters. All addresses will be standardized into uppercase without being modified by v…
cmp_use_type
stringnull
The use type for each mailpiece. Can be one of marketing, operational, or null. Null usetype is only allowed if an account default usetype is selected in Accou…
deleted
boolean
Only returned if the resource has been successfully deleted.
self_mailer_size
string
Specifies the size of the self mailer. The 17.75x9trifold size is in beta. Contact support@lob.com or your account contact to learn more.
writable
object
Properties that the postcards in your Creative should have. See the qrcode attribute below to add a QR code to your creative.
3 properties 1 required
cmp_id
string
Unique identifier prefixed with cmp.
object
string
Value is resource type.
writable-2
object
Properties that the letters in your Creative should have. See the qrcode attribute below to add a QR code to your creative.
10 properties 1 required
crv_inside
The artwork to use as the inside of your self mailer creative. Notes: - HTML merge variables should not include delimiting whitespace. - PDF, PNG, and JPGs mus…

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lobcom-creatives-api-openapi.yml Raw ↑

Other APIs Lob.com publishes across the network.

Lob.com Accounts API
Lob.com Addresses API
Lob.com Bank Accounts API
Lob.com Billing Groups API
Lob.com Booklets API
Lob.com Buckslip Orders API
Lob.com Buckslips API
Lob.com Campaigns API
Lob.com Card Orders API
Lob.com Cards API
Lob.com Checks API
Lob.com Identity Validation API
Where this information came from

This is an independent, third-party profile of Lob.com Creatives API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.