Infrastructure API · Now in private beta

Cryptographic proof
that a notice was sent and delivered.

An infrastructure API that generates and preserves verifiable evidence for legal notice delivery. Document hashing, hash-chained custody events, USPS certified mail tracking, and public proof bundles — designed for organizations where proof of service isn't optional.

SHA-256 document hashing Hash-chained custody events USPS certified mail tracking Public verification — no login
Built on
Lob APIUSPS Certified MailSHA-256 HashingHash-Chained Custody
What it does

Four pillars of verifiable delivery.

We don't just send mail and hand you a tracking number. Every step — from document upload to final delivery scan — is cryptographically bound and independently verifiable by any third party.

Document Hashing

Every document gets a SHA-256 hash computed server-side at upload. The hash is stored, chained into custody events, and included in the proof bundle — so any party can independently verify the document hasn't been altered.

Hash-Chained Custody Events

Each custody event (created, sent, in-transit, delivered, returned) is cryptographically linked to the prior event via a hash chain. Tampering with any event breaks the chain and is immediately detectable by any verifier.

USPS Tracking Integration

Certified mail tracking numbers, delivery scans, and electronic return receipts are captured from Lob/USPS webhook events and bound to the communication record in real time — no manual data entry.

Public Proof Bundles

A judge, auditor, or opposing counsel verifies a proof bundle by tracking number and document hash. No login, no tenant data, no recipient PII, no legal strategy exposed — just the verifiable facts of the send and delivery.

How it works

Four steps, end to end.

01

Create a Tenant

Onboard your organization with an API key. Configure webhooks for delivery events. Optionally provide your own Lob API key for per-tenant isolation.

API Request
POST /api/v1/tenants
Authorization: Bearer <platform-key>
Content-Type: application/json

{
  "name": "Humboldt County Code Enforcement",
  "webhook_url": "https://api.fairprocess.gov/webhooks/pos",
  "lob_api_key": "live_..." // optional: per-tenant Lob key
}
02

Upload a Document

Send a PDF (multipart or base64). We compute the SHA-256 hash server-side and return it for your independent verification.

API Request
POST /api/v1/documents
Authorization: Bearer <tenant-api-key>
Content-Type: multipart/form-data

file=@notice-of-violation.pdf

→ 201 Created
{
  "document_id": "doc_a3f5b8c1d2e4",
  "sha256": "a3f5b8c1d2e4f6a7...",
  "size_bytes": 84729,
  "page_count": 3
}
03

Send the Communication

Specify the document, recipient address, mail type, and legal reference (statute, cure period, response window). We send via Lob/USPS certified mail and create the custody chain.

API Request
POST /api/v1/communications
Authorization: Bearer <tenant-api-key>
Content-Type: application/json

{
  "document_id": "doc_a3f5b8c1d2e4",
  "recipient": {
    "name": "Property Owner",
    "address_line1": "500 Market St",
    "city": "Eureka", "state": "CA", "zip": "95501"
  },
  "mail_type": "certified",
  "legal_reference": {
    "citation": "[JURISDICTION-SPECIFIC CODE SECTION]",
    "description": "Notice of violation",
    "response_window_days": 30
  }
}

→ 201 Created
{
  "communication_id": "comm_7f8a2b...",
  "tracking_number": "9405511899599...",
  "status": "sent",
  "custody_chain": [{ "event_type": "created" }, ...]
}
04

Track & Verify

Lob/USPS webhook events update the custody chain in real time. When delivered, any third party can verify the proof bundle — no login, no account, no tenant data exposed.

API Request
GET /api/v1/verify/9405511899599...
    ?document_hash=a3f5b8c1d2e4f6a7...

→ 200 OK
{
  "verified": true,
  "tracking_number": "9405511899599...",
  "carrier": "usps",
  "mail_type": "certified",
  "status": "delivered",
  "sent_at": "2026-08-01T14:30:00Z",
  "delivered_at": "2026-08-03T11:22:00Z",
  "document_sha256": "a3f5b8c1d2e4f6a7...",
  "legal_citation": "[JURISDICTION-SPECIFIC CODE SECTION]",
  "response_window_ends": "2026-09-02T14:30:00Z",
  "custody_chain": [
    { "event_type": "created", "timestamp": "...",
      "event_hash": "e1a2b3...", "prior_event_hash": null },
    { "event_type": "sent", "timestamp": "...",
      "event_hash": "f2b3c4...", "prior_event_hash": "e1a2b3..." },
    { "event_type": "delivered", "timestamp": "...",
      "event_hash": "g3c4d5...", "prior_event_hash": "f2b3c4..." }
  ]
}
API Reference

Eleven endpoints. Full coverage.

Onboard, upload documents, send certified mail, track delivery, and generate verifiable proof bundles. RESTful, JSON, per-tenant API keys.

MethodEndpointDescriptionAuth
POST/api/v1/tenantsCreate a tenant and get an API key (shown once)Platform key
POST/api/v1/documentsUpload a document, get SHA-256 hash + document IDrate-limitedTenant API key
GET/api/v1/documents/:idRetrieve document metadata (not content)Tenant API key
POST/api/v1/communicationsCreate and send a communication via Lob/USPSrate-limitedTenant API key
GET/api/v1/communications/:idGet communication status, custody events, trackingTenant API key
GET/api/v1/communications/:id/proofDownload the full proof bundle (hash chain + custody events)Tenant API key
GET/api/v1/communicationsList communications with paginationTenant API key
POST/api/v1/templatesCreate a reusable document templateTenant API key
POST/api/v1/templates/:id/renderRender a template with variables to produce a documentTenant API key
GET/api/v1/verify/:trackingNumberPublic verification — no auth, no PII, just the factsrate-limitedPublic
POST/api/public/lob-webhookUnified webhook for Lob delivery eventsWebhook signature

All endpoints return JSON. Rate limits are per-tenant and configurable. Full OpenAPI specification available on request.

Built for

Every notice that needs proof.

We provide the infrastructure that proves you delivered. Each vertical has its own statutory requirements, notice periods, and evidentiary standards. You bring the legal requirements; we provide the proof.

Code Enforcement

Notices of violation, abatement orders, reinspection scheduling. Track compliance deadlines and prove service to the property owner.

Local code violations, nuisance abatement, administrative citations

Landlord-Tenant

Eviction notices, cure-or-quit notices, rent demands. Varying notice periods by state and county — the API binds each send to the specific statutory requirement.

3-day pay-or-quit, 30-day notice, 60-day termination

FDCPA Debt Collection

Validation notices, dispute notices, cease-and-desist confirmations. Reg F governs content and timing strictly — our API proves delivery, not Reg F compliance.

1692g validation notices, 1692c cease-and-desist confirmations
Proof of delivery only — not Reg F compliance verification.

HOA Liens & Assessments

Assessment notices, lien claims, hearing notices. State-specific delivery requirements for liens and foreclosures.

CC&R notice of assessment, notice of lien, hearing notice

Insurance Non-Renewal

Non-renewal notices, cancellation notices, policy changes. Statutory notice periods vary by state — we prove the notice was sent within the required window.

45-day non-renewal notice, 10-day cancellation notice

Custom Workflows

Any notice that needs cryptographic proof of delivery. The API is vertical-agnostic — bring your own legal requirements and we provide the proof infrastructure.

Contract notices, regulatory filings, shareholder communications
Pricing

Volume-based. Enterprise-ready.

Per-communication pricing that scales down as volume goes up. Enterprise plans include dedicated onboarding, custom MSA, invoicing, and SLA guarantees.

Starter

$3.99

per certified communication

  • API access with 1 tenant
  • All 11 endpoints
  • Standard rate limits
  • Email support

Up to 100 communications/month

Recommended

Professional

$2.49

per certified communication

  • Everything in Starter
  • Custom rate limits
  • Per-tenant Lob API keys
  • Webhook delivery + retries
  • Priority support

100 — 5,000 communications/month

Enterprise

Custom

volume-based pricing

  • Everything in Professional
  • Custom MSA + DPA
  • Monthly invoicing
  • Dedicated onboarding
  • SLA guarantees
  • Audit log retention

5,000+ communications/month

All plans include USPS certified mail, tracking, electronic return receipt, and full custody chain. Cancel anytime.

Security & Data Retention

Where your documents live, and for how long.

A compliance officer evaluating this product will ask two questions before anything else: where does the PDF live, and how long do you keep it. Here are the answers.

Encryption at Rest

Document files are encrypted at rest in Cloudflare R2 storage. Database records (Supabase/PostgreSQL) are encrypted at rest with AES-256. All transit is TLS 1.3.

Per-Tenant Isolation

Each tenant gets isolated API keys, isolated Lob credentials, and row-level security (RLS) in the database. One tenant cannot access another tenant's documents, communications, or custody chains.

Configurable Retention

Default retention is 7 years from delivery date, matching standard legal records requirements. Enterprise tenants can configure shorter or longer retention periods. Documents are securely deleted after retention expiry.

Audit Logging

Every API call, document access, and custody event is logged with timestamp, tenant ID, and IP address. Enterprise plans include exportable audit logs for compliance reviews.

No PII in Verification

The public verification endpoint exposes only delivery facts — tracking number, status, timestamps, custody chain, and document hash. No recipient name, address, or tenant information is returned to public callers.

Compliance Roadmap

SOC 2 Type II audit is on the roadmap. Data Processing Agreement (DPA) available for Enterprise tenants. We do not train models on customer documents.

Need a security review? We provide architecture documentation, data flow diagrams, and a DPA template for Enterprise tenants. Contact us at hello@mailmypdf.com.

Compliance & Legal

What we prove. What we don't.

We want to be crystal clear about the boundary of our product. Proof-of-Service proves that a notice was sent, delivered, and received. It does not — and cannot — verify that your notice content, timing, or format complies with any specific statute or regulation.

What we prove

  • The document was uploaded and hashed at a specific timestamp
  • Certified mail was sent via USPS with a specific tracking number
  • The mailpiece was delivered (or returned) on a specific date
  • The custody chain is intact and untampered (hash verification)
  • The document hash matches what was sent (content integrity)

What we do not verify

  • Whether your notice content satisfies any statute or regulation
  • Whether your notice was sent within a required statutory window
  • Whether your notice format meets jurisdiction-specific requirements
  • Whether the recipient was the correct party to serve
  • Whether your overall process complies with any legal standard

FDCPA — Proof-of-Service proves delivery — not compliance.

This API generates and preserves cryptographic evidence that a notice was sent and delivered. It does not verify that your notice content, timing, or format complies with any federal or state statute. You are responsible for ensuring your notice meets all legal requirements. Consult qualified legal counsel.

Each vertical — code enforcement, landlord-tenant, FDCPA, HOA, insurance — has its own statutory requirements that govern notice content, timing, format, and delivery method. Proof-of-Service provides the evidentiary infrastructure. You and your legal counsel are responsible for ensuring compliance with applicable law.

Ready to prove your notices?

Contact our team to discuss API access, enterprise pricing, and onboarding for your organization. We'll set up a tenant, configure your webhooks, and get you sending verifiable certified mail within a day.