Integrations
Three ways to put Moonlight in your software.
Start with a link, move to an embed, or take the API and build your own. All three run on the same quoting and application engine.
Hyperlink
Open Moonlight in a new tab, already quoting.
A plain link with query parameters. Product, ZIP and age together make Moonlight quote the moment it opens, and the underwriting text drops straight into the medical history box.
Nothing to install: any CRM, spreadsheet or help desk that can render a link can do this.
https://app.mooonlight.com/?tab=quoting&product=med_supp&zip=33602&age=65&gender=F&tobacco=0&face=15000&underwriting=No+known+conditions%2C+No+current+medicationsExample: a 65-year-old non-tobacco female in Tampa, Medicare Supplement.
Parameters
| Parameter | Values | Notes |
|---|---|---|
| tab | quoting · eapps | Opens on the Quoting tab, or eapps for the application side. |
| product | a slug from the list | Selects the product. Anything else is ignored and the dropdown stays unselected. |
| zip | 5 digits | Client ZIP code. |
| age | 1 – 129 | Client age. |
| gender | M · F | — |
| tobacco | 0 · 1 | 0 is non-tobacco, 1 is tobacco. |
| face | digits only, e.g. 15000 | Face amount in dollars for life products. |
| underwriting | URL-encoded text | Drops straight into the medical history box. With medicare_advantage, its medications go into the drug list. Up to 6,000 characters. |
| providers | URL-encoded names or NPIs | With medicare_advantage, each doctor is matched in the NPI registry and added to the doctor list. Names, NPIs or both. Up to 6,000 characters. |
| plan | a plan key, e.g. 2027_H1234_001_0 | With product=medicare_advantage, opens that Medicare Advantage plan. |
| current_plan | a plan id, e.g. H1234-123 | With medicare_advantage, fills Current plan and pins that plan to compare, marked Current plan. The dash is optional; add -000 for a segment. |
| year | 2027 · 2026 | Medicare Advantage plan year. Defaults to 2027. |
| fips | 5 digits | Medicare Advantage county, for a ZIP that spans several. |
| ref | your record id | 1–128 letters, digits, . _ : or -. Comes back on signatures, submissions and webhooks. |
product, zip and age together quote on load. Invalid values are ignored, not guessed. With medicare_advantage, zip alone opens the plan finder.
Application parameters
With tab=eapps, these open the application side and prefill the applicant. SSNs and banking details are never read from a URL.
| Parameter | Values | Notes |
|---|---|---|
| state | two letters | Application state. |
| carrier | a carrier id, e.g. aetna-ssi | Preselects the carrier. |
| product | a catalog product id, e.g. hif | Preselects the product; use with state and carrier. |
| start | 1 | Skips the selection screen and opens the application. |
| first · last | text | Applicant name. |
| dob | YYYY-MM-DD | Date of birth. |
| phone · email | text | — |
| street · city · addr_state | text | Address; addr_state defaults to state. |
Product slugs
med_suppMedicare Supplementfinal_expense_lifeFinal Expense Lifeterm_lifeTerm Lifehospital_indemnityHospital IndemnitychasCancer / Heart Attack / Strokehome_healthHome Health Careshort_term_careShort Term CaredentalDental / Vision / HearingaccidentAccidentu65_alternativesU65 Alternativesmedicare_advantageMedicare Advantage
What it looks like in a CRM
Every Quote in Moonlight button below is nothing more than this link with the row's values filled in. Change a product and the link changes with it.
Your CRM
5 clients| Client name | Product | Zip | Age | Gender | Tobacco | Medical | Quote action |
|---|---|---|---|---|---|---|---|
| Maria Alvarez | 33602Tampa, FL | 65 | Female | No | No known conditionsNo current medications | Quote in Moonlight for Maria Alvarez (opens in a new tab) | |
| Daniel Brooks | 78701Austin, TX | 68 | Male | Yes | High blood pressure, high cholesterolLisinopril and atorvastatin daily | Quote in Moonlight for Daniel Brooks (opens in a new tab) | |
| Linda Chen | 85251Scottsdale, AZ | 72 | Female | No | Type 2 diabetes, neuropathyMetformin and gabapentin | Quote in Moonlight for Linda Chen (opens in a new tab) | |
| Robert Okafor | 44114Cleveland, OH | 70 | Male | Yes | COPD, sleep apneaDaily inhaler, oxygen at night | Quote in Moonlight for Robert Okafor (opens in a new tab) | |
| Patricia Nguyen | 98101Seattle, WA | 74 | Female | No | Atrial fibrillation, hypothyroidismApixaban and levothyroxine | Quote in Moonlight for Patricia Nguyen (opens in a new tab) |
Embed
Put Moonlight inside your own software.
The same URL, inside an iframe. Pass the record your user is looking at through the query string and Moonlight opens on it, so the two stay in step without an SDK or postMessage, which is all most CRMs allow anyway.
Every hyperlink parameter works here too, plus a few that only make sense once Moonlight is living inside another product.
<iframe
src="https://app.mooonlight.com/?tab=quoting&product=med_supp&zip=33602&age=65&gender=F&tobacco=0&accent=0f766e&wl=1&nav=quoting,eapps"
title="Moonlight"
width="100%"
height="800"
style="border: 0"
></iframe>Embed parameters
accent6-digit hex, no #Recolors Moonlight's buttons and focus rings to match the software around it.wlyour Purl slug · 1White label: your Purl slug shows your uploaded logo in place of Moonlight's; 1 shows the shared default branding.navquoting · eapps · ssbci · carriers · purl · embedComma-separated list of the sidebar items to show. Leave it off to show them all.tabquoting · eappseapps opens the application side; first, last, dob, phone, email, street, city and addr_state prefill it.
When an application is submitted, a webhook tells your system. Set it up in the app
Try it
A contact record in a stand-in CRM, with Moonlight embedded beneath it. Switch contacts, or flip between Quoting and eApps: the only thing that changes is the iframe's query string, and Moonlight follows. Its buttons are Acme's teal because the URL carries accent=0f766e.
Maria Alvarez
Tampa, FL · Interested in Medicare Supplement
- Phone
- 813-555-0142
- maria.alvarez@example.com
- Date of birth
- Mar 14, 1961
- Address
- 1420 Bayshore Blvd, Tampa, FL 33602
- Age
- 65
- Gender
- Female
- Tobacco
- No
- Medical
- No known conditions, no current medications
https://app.mooonlight.com/?tab=quoting&product=med_supp&zip=33602&age=65&gender=F&tobacco=0&face=15000&underwriting=No+known+conditions%2C+No+current+medications&accent=0f766e&nav=quoting,eappsAPI
Build your own front end on our backend.
Everything the app does is a REST call: the product catalog, live quotes, Medicare Advantage plans and enrollment, underwriting screens, AI prefill, premium calculation, filled carrier PDFs, remote signatures, carrier submission, fax tracking and webhooks.
We run the pipeline; you design the screens. Rebuild Moonlight inside your product however you like.
- GETDiscover products
/v1/catalogEvery product id with its label, carrier and states. - GETGet the form
/v1/products/{id}/schemaA product's application fields and health questions. - POSTQuote
/v1/quotesLive premium comparison across carriers. - POSTCompanion quotes
/v1/quotes/companionCancer, heart attack and stroke, home health, accident, term life, short-term care and under-65 plans. - GETMedicare Advantage plans
/v1/medicare-advantage/plansPlans in a ZIP's county, each plan's details and its enrollment form. - GETDoctors and networks
/v1/medicare-advantage/providersFind a client's doctors and offices, then check which plans have them in network. - POSTRead the notes
/v1/underwriting/extractMedications and conditions pulled from free-form notes, with dates. - POSTScreen health
/v1/underwritingMedical history against each product's health questions. - POSTScreen prescriptions
/v1/underwriting/prescriptionsA medication list against carrier drug lists; /v1/drugs/parse reads a pasted list. - POSTPrefill
/v1/prefillMap client notes onto the application's fields. - POSTPrice it
/v1/premiumExact premium for the chosen carrier and plan. - POSTFill the PDF
/v1/renderThe carrier's state-specific application, filled. - POSTCollect signatures
/v1/signaturesSigning link by SMS or email, per-signer status, the signed PDF. - POSTSubmit
/v1/submissionsDeliver the signed application to the carrier. - POSTOr send answers only
/v1/applicationsMoonlight fills, signs and faxes the application. - POSTEnroll in Medicare Advantage
/v1/medicare-advantage/enrollmentsEnrollment answers in, signed and sent to the carrier. - GETTrack delivery
/v1/faxesEvery carrier fax from queued to delivered. - PUTGet notified
/v1/webhookSigned POSTs as signatures, submissions and faxes change.
curl -X POST https://app.mooonlight.com/api/v1/quotes \
-H "Authorization: Bearer $MOONLIGHT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product":"med_supp","zip5":"33602","age":65,"gender":"F","tobacco":false,"plan":"G"}'{
"carriers": [
{
"company": "…",
"startingMonthly": 123.45,
"quotes": [{ "planName": "Plan G", "monthly": 123.45, … }]
},
…
],
"totalQuotes": 12
}Base URL https://app.mooonlight.com/api/v1. Authenticate with Authorization: Bearer ml_live_… or an x-api-key header. Keys are created in the app under API and white label.