For Developers

Direct Mail API for Developers

Send postcards, letters, and handwritten mail programmatically. RESTful API. Full documentation. Real estate-ready.

Send Mail in One API Call

One POST request is all it takes. Pass the recipient, pick a template, add your merge variables, and we handle the rest. Printing, postage, delivery, tracking.

  • Sub-second response times
  • Sandbox mode for free testing
  • Webhook callbacks for delivery status
  • CASS-certified address verification
curl -X POST https://api.remaildirect.com/v1/mail \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": {
      "name": "John Smith",
      "address_line1": "123 Main St",
      "city": "Austin",
      "state": "TX",
      "zip": "78701"
    },
    "template_id": "tmpl_yellow_letter_01",
    "merge_variables": {
      "first_name": "John",
      "property_address": "456 Oak Ave",
      "offer_amount": "$185,000"
    }
  }'

How It Works

From API key to your first mail piece in under 5 minutes.

1

Get Your API Key

Sign up and generate your key in 30 seconds. Start in sandbox mode with zero charges.

2

Make an API Call

Send a POST request with recipient address, template ID, and merge variables. That's it.

3

We Print and Mail

We handle printing, postage, and delivery. You get webhook callbacks for status updates.

API Features

Everything you need to integrate direct mail into your application.

RESTful API with JSON

Clean, predictable endpoints with JSON request and response bodies. If you've used any modern API, you'll feel right at home.

Sandbox Mode

Test everything without spending a dime. Sandbox mode simulates the full workflow so you can build and debug before going live.

Address Verification Endpoint

CASS-certified address verification built right into the API. Validate addresses before you send and stop wasting money on undeliverable mail.

Webhook Callbacks

Get real-time notifications for campaign status and delivery events. Your app stays in sync without polling.

Template Management

Create, update, and manage mail templates via the API. Swap designs without redeploying your app.

SDKs for Major Languages

Official SDKs for Node.js, Python, Ruby, and PHP. Install, import, and start sending in minutes.

What You Can Build

Add physical mail to any workflow or product.

CRM Integration

Trigger mail from deal stage changes. When a lead moves to "follow up," a letter goes out automatically.

Proptech Platforms

Offer direct mail as a built-in feature in your real estate platform. Your users get mail capabilities without switching tools.

Marketing Automation

Connect to Zapier, Make, or your own workflow engine. Add physical mail to any digital automation.

Portfolio Management

Automate tenant notices, property outreach, and investor communications at scale.

"We integrated REmail's API into our CRM in a day. Now our agents trigger mail campaigns without leaving the platform. The sandbox mode made testing a breeze."

Alex R.

CTO, Proptech Startup

99.9%

API Uptime

<200ms

Avg Response Time

4 SDKs

Node, Python, Ruby, PHP

Frequently Asked Questions

What can I send via the direct mail API?

Postcards (4x6, 6x9, 6x11), professional letters, yellow letters, and handwritten-style letters. Every mail type available through the dashboard is also available through the API. You can use our templates or upload custom designs.

Is there a sandbox or test mode?

Yes. Every API key comes with sandbox access. Sandbox mode simulates the entire mail workflow, including webhook callbacks for status changes. You don't get charged for sandbox calls, and no mail actually gets printed or sent.

What SDKs are available?

We have official SDKs for Node.js, Python, Ruby, and PHP. Each one is well-documented with code examples. If you're using a different language, the REST API is straightforward to call directly.

How does address verification work via the API?

Hit our /v1/verify endpoint with an address and we'll return a CASS-certified result including deliverability status, standardized formatting, and any corrections. You can verify addresses individually or in batch before submitting a mail request.

How does REmail's API compare to Lob?

Both are RESTful APIs for sending physical mail. REmail is built specifically for real estate investors, so you get investor-tested templates, skip tracing hooks, and real estate-specific merge fields out of the box. Pricing is competitive, and our sandbox mode is fully functional. Check out our detailed comparison on the blog.

Ship Direct Mail From Your Code

Get your free API key and start testing in sandbox mode. No credit card required.

Direct Mail API for Developers | REmail