Company Settings

Resolve the exact model that a weekly send would produce

Demo-parity read for an explicitly allowlisted active or test company. Returns the fully-resolved email model (from, to, subject, intro, snapshot, sections, monthlyClose) built from real overview/reports metrics. The snapshot tiles carry the Live Home hero's figures for the same legal entity and day: Cash, Revenue month to date, Monthly burn (the last 90 days averaged per month; "Not burning" at or below zero) and Runway in whole months on gross cash ("No net burn" when not burning, "120+ mo" at the display cap). The client preview renders this exact model, so preview and the delivered email match. Any metric without a real source is omitted (never fabricated) and listed in omittedSections.

get/companies/{companyId}/weekly-email/preview

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Query parameters

mode, 'weekly' | 'firstOfMonth'

Headers

X-Median-App-Surface, 'qa'

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

Resolved weekly-email model

WeeklyEmailPreviewResponse required
data, WeeklyEmailPreview

Fully-resolved email model; preview renders this exactly as sent.

Changes

No recorded changes to this operation across all 110 revisions of this API.