You need a test API key (
psk_test_...). Prescience support issues keys; there is no self-serve key creation yet. Email partners@getprescience.com if you don’t have one.Check your key
Export your key and hit
/ping. It confirms the key is valid and tells you which mode you’re in.Response
Create a group
A group is one employer.
companyName and domain are required; currentCoverage.pepmCents (what the employer pays per employee per month today) powers the savings comparison on the quote, so send it if you have it.Response (201)
Upload the census
PUT /census replaces the full census. To quote, each member only needs a zip and one of dob | age. You almost certainly have both already. Names and emails are required later, at enrollment.This is Acme’s real census: 12 employees, 19 covered lives.Response (200)
errors with the row index while everything else is stored. Details in the census guide.Create the quote
One POST, empty body, full quote in the same response. The plan year start defaults to the first of the month at least 60 days out, and the savings baseline comes from the Read it like this:
pepmCents you set on the group.Response (201)
monthly.totalCents is the all-in monthly amount, monthly.pepmCents is the employee-normalized amount, and comparison is calculated from the prior-plan PEPM sent on the group. Field-by-field details are in the quotes guide.Enroll the employer
When the employer accepts the quote, create the enrollment. The signatory is the employer admin who made the selection; Prescience provisions them as the company’s admin in the Prescience employer portal and runs onboarding there (the default From here, Prescience runs onboarding, KYB, banking, and plan setup with the employer directly in the Prescience employer portal, then activation (
onboardingMode: "hosted"; see the enrollment guide).Response (201)
sandbox → prod). No code on your side; poll GET /enrollments/{enrollmentId} or listen for webhooks. employerPortal confirms the signatory’s portal account: this is a test-mode key, so inviteSuppressed is true. Test mode never sends outbound email; in live mode the signatory receives a set-password invite. The sandbox company is fully functional but flagged test: true and never activated; no money moves.Read the account
Once enrolled, The benefits tab guide maps every field to a UI element, with the full in-force payload for this group.
GET /account returns funding, premium-equivalent totals, spend by category, and savings, all aggregate and de-identified.Where to next
Read plan metadata
Static plan fields plus group-specific quote pricing.
Set up webhooks
Signed events for enrollment, activation, and finalized quotes.
Sync your census
New hires, terminations, and COBRA: one call each.
Go live
BAA, data handling, and what changes between test and live.