AI agents

Direct mail APIfor AI agents

Our direct mail API for AI agents turns campaign instructions into postcards and letters. Connect through MCP to review live sends or use a daily spend cap.

Win-back follow-upDirect Mailer · live
Send a follow-up postcard to the No order in 90 days segment. Check their addresses first.
directmailer · count_segment214 contacts in No order in 90 days.
directmailer · verify_addressVerified 209Corrected 4Failed 1
directmailer · send_batch213 postcards 4×6, $415.35 mailing Wed Oct 14. This is a live send, so it needs your approval.ApproveCancel
Reply to the agent

Campaign help. Ask your agent to choose a saved customer segment and prepare the mailing.

Spending control. Approve live MCP sends or set a daily cap for your key.

Mailing reports. Ask where your mail went and how much you spent.

Features

Use AI agents to prepare campaigns across Canada

Keep campaign preparation, address checks and mailing reports in the conversation where you plan your work.

ReportsAsk where your campaign budget went last month

Claude or ChatGPTDirect Mailer
How did the fall win-back do this week?
directmailer · get_analytics2,418 postcards mailed, 41 returned (1.7%). Median time to mail: 1.9 days.
Ontario and Québec got most of them. Want the same postcard for the Prairies segment next week?
Reply to AI agent

Address checksCatch address errors before spending on printing and postage

Claude or ChatGPTDirect Mailer
Mail the renewal letter to Liam at 4520 St-Denis, Montreal.
directmailer · verify_address
line1: "4520 St-Denis", city: "Montreal",
province: "Quebec", postal_code: "h2j2l3"
4520 rue Saint-DenisMontréal QC H2J 2L3Corrected
Reply to AI agent

Test runsTest your agent’s campaign before paying to send it

dm_test_07aa…Test mode
postcard.created0 s
postcard.rendered2 s
postcard.in_production5 s
postcard.mailed9 s
PrintedNo
Charged$0.00

Request logsSee which agent made each mailing request

LogsToday
14:02send_batch201
14:01verify_address200
13:58count_segment200
12:30get_analytics200
11:47send_letter422
11:46verify_address200
10:15list_mail200
09:02get_analytics200

Keep control as your agent gets to work

Ask your agent to prepare a renewal reminder or a customer offer for a saved audience. It can use the direct mail MCP server or the direct mail API, while you keep the campaign’s message and audience under your control.

Check the audience and run address verification before committing your mailing budget. Try the campaign in test mode first, then approve live MCP sends yourself or let a daily spend cap cover them.

FAQ

Frequently asked questions

What can an AI agent do for my campaign?

Your agent can check addresses, prepare postcards and letters, quote costs and send a campaign. It can also add contacts, list saved audiences and templates, cancel eligible mail and report on mailing activity.

Which agents work with Direct Mailer?

Claude, Claude Code, Cursor and VS Code can connect through MCP using the setup instructions in the app. An agent that makes HTTP requests can also use the REST API with your key.

Can an agent spend without my approval?

Live MCP sends need your approval unless the key’s daily spend cap covers the cost. Calls made directly to the REST API follow the key’s API permissions and do not use MCP send approvals.

What if my agent repeats a send request?

The same idempotency key and request return the original result. Your agent should reuse that key when retrying, so a repeated request does not print another mailing or charge you again.

Can I test an agent without printing mail?

Yes. A test key lets your agent prepare mail and follow simulated mailing statuses with real webhook events. Nothing prints and no money leaves your balance, so you can check the workflow first.

What does agent-created mail cost?

Agent-created mail uses the same per-piece pricing as mail you prepare yourself. Printing, addressing and postage are included. Test the workflow free before adding funds and approving your first live send.

Give your agent its first mailing task

Start with a test campaign and review the audience, addresses and cost before sending live mail.