Server-rendered invoice email preview (nothing sent)
DARK — 404s unless ar_ap_items_enabled. Returns the exact email the send/resend path dispatches as { to, subject, html } — same recipient resolution, same template — without sending anything, without an FSM transition, and without stamping email_sent_at. to is null when the counterparty has no email on file (the preview still renders). Drafts are refused: a draft has no send contract yet.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Query parameters
Concrete legal entity that owns this AR/AP request. Omission is accepted only when the actor is authorized to exactly one concrete entity; consolidated scope cannot mutate or serve these entity-only resources.
Headers
Optional customer-app bundle marker for production-promoted demo-parity routes. Production customer calls omit this header. When present, qa selects the QA bundle and the server additionally requires an allowlisted test company with persisted client_status=test.
Response
Rendered email preview: { to, subject, html }
Changes
No recorded changes to this operation across all 110 revisions of this API.