# MailmanAPI MailmanAPI lets an AI agent mail real US letters, Certified Mail with tracking and return receipt, and postcards. The agent makes a draft and gets the exact pages and price. By default a person approves and pays at a private link. Account owners can enable capped auto-send from balance. Every paid piece has a 30-minute cancel hold and goes through screening before printing. Test mode is free. - MCP (Streamable HTTP): https://mailmanapi.com/mcp - Claude directory MCP: https://mailmanapi.com/mcp/claude (letter services, quotes, drafts and private-link status) - REST base: https://mailmanapi.com/v1 - OpenAPI: https://mailmanapi.com/openapi.json - MCP server card: https://mailmanapi.com/.well-known/mcp/server-card.json ## What we promise - A person approves on the private page by default. Account owners can enable capped auto-send from prepaid balance. - We mail the exact document you approved. - You pay the price you approved. - It's never mailed twice. - You have 30 minutes to cancel after approving. ## Mailpiece statuses | State | Label | Next step | | --- | --- | --- | | draft | Draft | Show the person approval_url to review the preview and price and approve. | | paid | Approved | Wait for the hold to end, or cancel before cancel_until. | | screening | Checking | Check the piece again shortly. | | review | In review | Check again later for a decision. | | submitted | At print | Check again for printing and mailing updates. | | printed | Printed | Check again for the USPS handoff. | | mailed | Mailed | Check again for USPS updates. | | in_transit | In transit | Check again for delivery. | | delivered | Delivered | Keep the mail link for your records. | | receipt_ready | Receipt filed | Download the electronic return receipt at receipt_url. | | canceled | Canceled | Create a new draft with a new idempotency key if you still want to mail it. | | failed | Failed | Review the failure and create a corrected draft with a new idempotency key. | | returned | Returned | Confirm the full recipient address before creating a new draft. | | refunded | Refunded | Review the refund and create a new draft if you still want to mail it. | First-Class letters get no USPS scans after hand-off. Choose Certified Mail if you need proof. USPS keeps Certified tracking for 2 years. ## Named test recipients | Recipient name | Outcome | | --- | --- | | Test Delivered | Follow the test clock to the service's last reported step. | | Test Returned | Handed to USPS at +5 minutes, returned at +10 minutes for Certified. | | Test Print Failure | The print partner rejects the job on submit. | | Test Undeliverable | Address verification rejects the recipient before drafting. | | Test No Scans | Handed to USPS at +5 minutes, with no further scans. | ## Documentation - [developers](https://mailmanapi.com/developers.md) - [assistants](https://mailmanapi.com/assistants.md) - [rates](https://mailmanapi.com/rates.md) - [how-it-works](https://mailmanapi.com/how-it-works.md)