Direct Mail Letter API

DirectMailers programmatic letters feature 70 lb. uncoated text stock paper with full four color digital printing.
Letter pricing includes everything including #10 dual window envelop and USPS postage.
Letter pricing is a flat rate for 8.5×11″, 8.5×14″, 4/4 color or 1/0 color.

HIGHEST QUALITY

Every letter starts with superior substrates and is executed using the highest quality printing. Quality matters, DirectMailers print products are second to none.

TRACKABLE

Stay compliant, stay informed. Individual letter tracking, and delivery events are available on every API call.

SCALABLE

Use the power of the cloud to scale your direct mail letter mailings. Scale up and down as needed with no upfront fees or long-term commitments.


FLEXIBLE CREATIVE

Print with flat / pre-rendered images, or use powerful HTML5 + CSS3 templates for quick customization and unlimited possibilities with variable data and objects.

VARIABLE DATA

Templates allow easy personalization and placement of variable data for unlimited possibilities helping to drive your message and connect to your customer.



Trigger Programmatic Letters and Drive Results

  • STARTUP
                                                                  
  • $0.75
    Per Letter
  • $0.15 Additional Pages
  • No Contracts or Subscriptions
  • Pricing Details
  • ENTERPRISE
    5,000 Monthly Aggregate Volume
  • $0.73
    Per Letter
  • $0.12 Additional Pages
  • No Contracts or Subscriptions
  • Pricing Details

Sample Letter API Request

In this quick example we will action a letter that utilizes a template for the creative. The template allows us to use the “VariablePayload” object to pass in variable data for replacing in the template. More information on the postcard object can be found in the documentation

{
    "Data": "e5f8e8ac-48ba-4860-984c-7a118368fc0d",
    "Description": "Sample Request",
    "Size": "8.5x14",
    "PostalClass": "First Class",
    "Duplex": false,
    "BlankFirstPage": false,
   	"To": {
    	"Name": "Mike Smith",
    	"AddressLine1": "123 Main St",
    	"City": "Paducah",
    	"State": "KY",
    	"Zip": "42001"
	},
    "From": {
        "Name": "DirectMailers",
        "AddressLine1": "8808 North Central Ave. Suite #108",
        "City": "Phoenix",
        "State": "AZ",
        "Zip": "85020"
    },
    "VariablePayload": {
    	"FirstName" : "Tim",
    	"AmmountDue" : "1,234,567.89"
    }
}

Sample Letter API Response

The JSON object below represents all the data passed back from a postcard POST request. Every data point about the letter is available as well as links to rendered PDFs and low-resolution JPGs are returned.

{
    "PrintRecord": "e5f8e8ac-48ba-4860-984c-7a118368fc0d",
    "Created": "2018-07-09T22:25:06+0000",
    "MailingDate": "2018-07-10T00:00:00+0000",
    "Canceled": false,
    "Status": "Pre-Production",
    "Description": "Sample Request",
    "Medium": "Letter",
    "Size": "8.5x14",
    "VariablePayload": {
        "FirstName": "Tim",
        "AmmountDue": "1,234,567.89"
    },
    "PdfPages": 5,
    "PrintPages": 5,
    "Cost": 1.4,
    "DryRun": false,
    "Duplex": false,
    "BlankFirstPage": false,
    "RenderedPdf": "https://dmprint.s3-us-west-2.amazonaws.com/assets/ef6707e426e87131ce9ca82b4f0daccdacd5787b79f4ac69eb7cf7078bd33e2b.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAINYRYKOPG5CLM5LA%2F20180709%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20180709T222509Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=7589c30b5722c36d31a8f45395bc69c579f6c0758ff2e79530c2bb1b4ae98a2a",
    "PostalCarrier": "USPS",
    "PostalClass": "First Class",
    "Data": "e5f8e8ac-48ba-4860-984c-7a118368fc0d",
    "To": {
        "Name": "Mike Smith",
        "AddressLine1": "123 Main St",
        "AddressLine2": null,
        "City": "Paducah",
        "State": "KY",
        "Zip": "42001"
    },
    "From": {
        "Name": "DirectMailers",
        "AddressLine1": "8808 North Central Ave. Suite #108",
        "AddressLine2": null,
        "City": "Phoenix",
        "State": "AZ",
        "Zip": "85020"
    },
    "Thumbnails": {
        "Small": "https://dmprint.s3-us-west-2.amazonaws.com/assets/e762dfe76be278eb0127d70c397559828d77aed9016ceaba913c27d9f9d2436b.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAINYRYKOPG5CLM5LA%2F20180709%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20180709T222509Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=59c64a83830761db79187889c7189b24d94d98183a8438cca49d9a94a58ce075",
        "Medium": "https://dmprint.s3-us-west-2.amazonaws.com/assets/4fb13f9469e1e145e8ced719b41efd73fba93cde12d934cbf2ee2fd855a1ff8a.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAINYRYKOPG5CLM5LA%2F20180709%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20180709T222509Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=53ceddb1937a910089db55f2bc9287a39ae7fe2cccf047a6b712e453ba125045",
        "Large": "https://dmprint.s3-us-west-2.amazonaws.com/assets/ffe2c9e42e815ab039b131dff211b3d274fcf8e31f531bc5d4f11869b9917a56.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAINYRYKOPG5CLM5LA%2F20180709%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20180709T222509Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=f44b83bb158f2c93a05d7b5f1929dbfe53a76503ee9cf6fcfa001b4602ee7a1f"
    },
    "TrackingEvents": [],
    "EstimatedDeliveryDate": "2018-07-16T00:00:00+0000",
    "ActualDeliveryDate": null
}

Get Started With the DirectMailers Print API Today.

We are excited to get started with your and your team. Feel free to drop us a line and let us know how we can help!
Get StartedDocumentation Contact Support Team