Trigger it from your data
An order, a signup, a failed payment or a quiet customer can start a send. Call the API from any event you already have.
Personalize postcards and mailers with your customer data, send them with one API call, and track every piece to the mailbox at a price you know before you send.
Three steps, all from your own app. No print shop emails, no post office runs.
An order, a signup, a failed payment or a quiet customer can start a send. Call the API from any event you already have.
Upload a PDF or use a template. Merge fields fill in names, offers and places, and you see a proof first.
Addresses are checked, postage goes on, USPS takes it, and every scan comes back to your app.
Create postcards and flats from any backend. Send an address and your templates, get a proof back, and listen for every USPS scan with webhooks.
1const res = await fetch('https://api.mailr.dev/v1/postcards', {2 method: 'POST',3 headers: { Authorization: `Bearer ${process.env.MAILR_KEY}` },4 body: JSON.stringify({5 size: '6x9',6 to: customer.address,7 front: 'tmpl_spring_front',8 back: 'tmpl_thank_you',9 merge: { first_name: customer.firstName },10 }),11});12// → psc_5f8a2c91 is queued and a proof is ready
1const res = await fetch(2 'https://api.mailr.dev/v1/postcards',3 { method: 'POST',4 headers: { Authorization: key },5 body: JSON.stringify({6 size: '6x9',7 to: customer.address,8 front: 'tmpl_spring_front',9 back: 'tmpl_thank_you',10 merge: { first_name: 'Ada' },11 }) });
Postcards, flats and folded mailers from commercial presses, sorted and mailed for you. Pick a size in one field.
4×6, 5.5×8.5, 6×9 and 6×11 inches. Full color on both sides.
8.5×11 and 8.5×14 inches, mailed flat. Room for a letter or a menu.
11×17 inches, folded to mail. Space for a story, a catalog page or a map.
Everything a print shop and a spreadsheet make you do by hand, handled from one API.
Create a key, send a test to yourself, and check the proof before anything prints.