LogoLogo
API DocsTemplate GalleryProduct UpdatesContact Us
  • 📬Print & Mail
    • Ready to get started?
      • Pricing details
      • Fast Track Guide
    • Integrations
      • API integrations
        • Action IQ
        • Adobe Marketo Engage
        • Blueshift
        • Braze
        • Customer.io
        • Hubspot
        • Iterable
        • Jotform
        • Klayvio
        • Listrak
        • Make
        • Optimove
        • Salesforce
        • Salesforce Marketing Cloud
        • Segment
        • Simon Data
        • Zapier
      • No-code integrations
        • Agile CRM
        • Freshsales Suite
        • HubSpot
        • Microsoft Dynamics 365
        • Pipedrive
        • Salesforce
        • Salesforce Marketing Cloud
        • Zoho
      • Creative conversion tools
        • Figma plugin
    • Reaching your audience
      • Lob Audience
        • Target Audiences
        • Lookalike Audiences
        • Purchasing Audiences
      • All about addresses
      • Campaign audience guide
      • Additional Lob NCOA functionality
    • Designing mail creatives
      • Artboard layout
      • Creative formatting
        • PDF preflight checklist
        • Exporting PDFs from InDesign
        • Rendering errors
      • Mail piece design specs
        • Postcards
        • Self-Mailers
        • Letters
        • Letter envelopes
        • Letter add-ons
        • Checks
        • Snap packs
        • Booklets
        • Custom mail
      • Maximizing engagement
        • Dynamic personalization
          • Advanced templating (Handlebars)
            • Dynamic table tutorial
        • Adding QR codes
        • Short URLs
        • Informed Delivery
    • Building a mail strategy
      • One-time campaigns or triggered sends?
      • Choosing a delivery strategy
      • Managing mail settings
        • Using metadata
        • Declaring mail use type
      • USPS Promotions Through Lob
        • Tactile, Sensory & Interactive Promotion
        • Integrated Technology Promotion
        • First Class Mail Advertising Promotion
        • Add-Ons
      • Mailing class and postage
        • Certified Mail or Registered Mail
      • International mail
    • Send mail!
      • Launch your first campaign
      • Send mail via Print & Mail API
      • Send campaigns via the Campaigns API
      • USPS Secure Destruction
    • Getting data & results
      • Tracking your mail
      • Mail analytics
      • Measuring attribution
      • Using webhooks
      • Exporting mail data
  • 🏠Address Verification
    • Ready to start AV?
      • US AV product suite
      • International AV suite
      • AV pricing
    • AV best practices
    • AV integrations & libraries
      • AV Elements
      • Shopify App: Address Cleanser
    • AV FAQs
  • đź’»Developer Docs
    • API quickstart guide
    • SDKs & libraries
    • Postman & similar tools
    • Error reference
    • Upgrading API version
    • Technical use case guides
      • Mass deletion setup
      • NCOA responses
      • Override cancellation window
      • Visibility of address changes
      • Ingesting tracking events with webhooks
  • 🔑Account Management
    • Signing into Lob
    • API keys
    • Account settings
      • Account-level data logs
    • User settings
    • Billing
      • Lob Credits
      • Lob Payment Methods
      • Sales Tax FAQ
        • Applicable sales tax by state
          • ​Subscriptions and Services
          • Lob Audience
          • Delivery Location for Operational Mail
          • Customer Billing Address for Operational Mail
          • Delivery Location for Marketing Mail
          • Postage Exemption
          • Professional Services
        • Tax exemption guide
  • 📞Resources
    • Getting support
    • Security & privacy
    • Data retention
    • Sustainability
    • Private labeling Lob
    • Direct mail glossary
Powered by GitBook
On this page
  • Overview
  • How to declare your mail use type
  • 1. Setting use type for an account (default)
  • 2. Setting use types for each mailpiece
  • 3. Setting use types for each campaign
  • Error reference

Was this helpful?

Export as PDF
  1. Print & Mail
  2. Building a mail strategy
  3. Managing mail settings

Declaring mail use type

PreviousUsing metadataNextUSPS Promotions Through Lob

Last updated 2 years ago

Was this helpful?

Overview

Identifying your mail use type helps Lob populate the right mail settings and postage options to ensure your mail is produced and delivered in an optimal way. Lob requires that you identify—or tag—your mail with one of the following use type options:

  • Marketing mail: Any mailers that are sent for marketing, advertising, and promotional purposes

  • Operational mail: All other mail, typically transactional or functional in nature, such as invoices, adverse action notices, statements, and other confidential mail that include sensitive PII/PHI data

It will be your full responsibility to accurately represent the purpose of mail that is created and sent. Lob will be unable to make any determination of which use type should be applied to your mail being sent, or for making retroactive changes to your API calls.

How to declare your mail use type

You should declare your mail’s use type at the appropriate level based on your organization's usage (at the account, campaign, or mailpiece level).

1. Setting use type for an account (default)

If the majority of your mailpieces have a singular use type, then it is best to configure a default use type at the account level. This can be changed by an account administrator in the Use Type section in the . An account-level setting will be applied to any mailpiece created without a use_type at the individual mailpiece or campaign level.

While an account-level designation is not required, the failure to declare a mail use type at any level means that in the absence of a default value, your organization will be prevented from sending any mail until a use type is declared.

To set an account-level default, go to your tab:

2. Setting use types for each mailpiece

If you or your team sends mailpieces with varying use types (including different teams that utilize the same Lob account for different purposes), then it is best to declare your use types at the single mailpiece level or at the campaign level.

If you have built a native Lob integration to trigger individual mailpieces, you will want to configure a use type at the individual mailpiece level. A mailpiece designation will override your account-level use type, regardless of whether the default selection is made.

In the Dashboard

In the API

When sending a POST request to the below endpoints, pass in a use_type value of either marketing or operational. Note that the account default will be overridden by passing in a use_type for each mailpiece. If no account default is set and no single endpoint-level use_type is passed in the request, the mailpiece cannot be created and will fail with a 422 error.

api.lob.com/v1/letters api.lob.com/v1/postcards api.lob.com/v1/self_mailers api.lob.com/v1/checks

Example: POST /v1/postcards request with use_type included

{
    "description": "demo",
    "to": "adr_42bb83a3a643c43f",
    "from": "adr_42bb83a3a643c43d",
    "front": "tmpl_a1234dddg",
    "back": "tmpl_a1234dddg",
    "size": "6x9",
    "mail_type": "usps_first_class",
    "use_type": "operational",
    "send_date": "2022-05-01T00:00:00.000Z"
} 

3. Setting use types for each campaign

If you have built a native Lob integration to send mail campaigns, you will want to configure a use type at the campaign level. A campaign-level designation will override your account-level mail use type, regardless of whether the default selection is made.

In the Dashboard

Example:

In the API

Example: POST /v1/campaigns request with use_type included

{
    "name": "Summer Campaign",
    "description": "Acquisition for new customers",
    "schedule_type": "immediate",
    "cancel_window_campaign_minutes": 40,
    "use_type": "marketing"
}

Error reference

If no account default is set and no campaign or mailpiece use_type field is passed in your API requests, your calls will fail with a 422 error.

To ensure your mail sends do not fail in the future, we strongly recommend you set an account default as a fall-back option as soon as possible

When sending a single mailpiece through the dashboard, use type will be a required selection for every mailpiece format (, , , or ).

Example: Use Type selection when creating a new in the Dashboard

The Campaigns product is designed to help send large volumes of mail quickly, either through the or .

When sending a Campaign on the dashboard, selecting a campaign use type is a required step during the “” page in Step 1. You will be able to select one of two options: Marketing or Operational. Any selection will be applied to all mailpieces within the same campaign.

When using the , add the use_type field to the POST /v1/campaigns request. If the use_type is not added, the campaign will use the account default use_type. If no account default is set and no campaign-level use_type is passed in the request, the campaign cannot be created and will fail with a 422 error.

Read more about under the "Error Codes - Advanced" section of our API Reference.

📬
letters
postcards
self-mailers
checks
postcard
dashboard
Campaigns API
Configure campaign
Campaigns API
error codes
Accounts Tab in the dashboard settings
Dashboard Settings > Accounts