# Prescience Partner API > Technical reference for the Prescience Partner API. ## Docs - [Get the employer account](https://getprescience.com/docs/api-reference/account/get-the-employer-account.md): Aggregate employer account data: funding, premium-equivalent totals, spend by category, and savings. Account data is aggregate and de-identified by design. Returns `404 not_found` until the group is enrolled. - [List enrolled members](https://getprescience.com/docs/api-reference/account/list-enrolled-members.md): Enrollment-admin data for the benefits tab roster: who is invited, who has created an account, and COBRA status. Returns `404 not_found` until the group is enrolled; use `GET /groups/{groupId}/census` before that. No health data, ever. - [Add a member](https://getprescience.com/docs/api-reference/census/add-a-member.md): Adds one member to the census: the new-hire path. After enrollment, additions propagate to the live company census automatically. - [Get the census](https://getprescience.com/docs/api-reference/census/get-the-census.md): Returns the stored census, each member with its server-assigned `memberId`. - [Replace the census](https://getprescience.com/docs/api-reference/census/replace-the-census.md): Full census replace. Rows are upserted by `email` when present, else by `externalId`. To quote, each member needs `zip` plus one of `dob` | `age`. Valid rows are stored even when other rows fail; check `errors` for per-row rejections. Rate limit: 20 census writes per minute. - [Update or terminate a member](https://getprescience.com/docs/api-reference/census/update-or-terminate-a-member.md): Updates member fields. Terminate with `{ "status": "terminated", "terminationDate": "...", "cobra": true }`. After enrollment, changes propagate to the live company census; `cobra: true` keeps the member covered under COBRA continuation. - [Create an enrollment](https://getprescience.com/docs/api-reference/enrollments/create-an-enrollment.md): Locks the employer's plan selection against a quote. Requires an unexpired `ready` quote and an enrollment-ready census: every active member needs `firstName`, `lastName`, and `email` (failures come back as `invalid_request` with per-member details). Prescience provisions the company (state `sandbox… - [Get an enrollment](https://getprescience.com/docs/api-reference/enrollments/get-an-enrollment.md): `onboarding` is recomputed from the live onboarding checklist on every read. When Prescience flips the company to `prod`, `status` becomes `active` and the group status moves to `active`, also announced by the `group.state_changed` webhook. - [Create a group](https://getprescience.com/docs/api-reference/groups/create-a-group.md): Creates an employer group. `companyName` and `domain` are the only required fields; `currentCoverage.pepmCents` powers the savings comparison on quotes. - [Get a group](https://getprescience.com/docs/api-reference/groups/get-a-group.md) - [List groups](https://getprescience.com/docs/api-reference/groups/list-groups.md): All groups created by your keys in the current mode, newest first. - [Update a group](https://getprescience.com/docs/api-reference/groups/update-a-group.md): Updates writable group fields (same fields as create). - [Check connectivity](https://getprescience.com/docs/api-reference/health/check-connectivity.md): Verifies your key and returns the resolved partner and mode. The first call of every integration. - [API overview](https://getprescience.com/docs/api-reference/introduction.md): Base URL, conventions, and the shape of every request. - [List plans](https://getprescience.com/docs/api-reference/plans/list-plans.md): Static plan metadata: identifiers, plan classification, plan design amounts, brand assets, and required disclaimers. Combine with a group quote for group-specific pricing. - [Create a quote](https://getprescience.com/docs/api-reference/quotes/create-a-quote.md): Rates the stored census and returns a complete quote synchronously. Deterministic: the same census, start date, and pricing configuration always produce the same numbers. Groups above the in-review threshold (default 200 employees) return `status: in_review` and are finalized by underwriting (webhoo… - [Get a quote](https://getprescience.com/docs/api-reference/quotes/get-a-quote.md): Re-fetch a quote, e.g. after a `quote.finalized` webhook moves it from `in_review` to `ready`. - [List quotes](https://getprescience.com/docs/api-reference/quotes/list-quotes.md): All quotes for the group, newest first. - [Censusprocessed](https://getprescience.com/docs/api-reference/webhooks/censusprocessed.md): A census write finished processing. - [Enrollmentcreated](https://getprescience.com/docs/api-reference/webhooks/enrollmentcreated.md): An enrollment was created for one of your groups. - [Groupstate changed](https://getprescience.com/docs/api-reference/webhooks/groupstate_changed.md): The provisioned company changed state, most importantly `sandbox` to `prod`, which means the group is live: money moves, the benefits tab shows real funding, and the enrollment status becomes `active`. - [Ping](https://getprescience.com/docs/api-reference/webhooks/ping.md): Sent by `POST /webhook/test`. Use it to verify signature handling before going further. - [Quotefinalized](https://getprescience.com/docs/api-reference/webhooks/quotefinalized.md): An `in_review` quote (groups above the in-review threshold) was finalized by Prescience underwriting and is now `ready`. Re-fetch it with `GET /groups/{groupId}/quotes/{quoteId}`. - [Send a test event](https://getprescience.com/docs/api-reference/webhooks/send-a-test-event.md): Dispatches a signed `ping` event to your registered endpoint so you can verify signature handling end to end. - [Set the webhook endpoint](https://getprescience.com/docs/api-reference/webhooks/set-the-webhook-endpoint.md): Registers (or replaces) your HTTPS webhook endpoint. The signing secret is returned once and stored encrypted; save it immediately. Rotating: call this endpoint again to get a new secret. - [Authentication](https://getprescience.com/docs/authentication.md): Bearer keys, test and live environments, and key safety. - [Account data](https://getprescience.com/docs/guides/benefits-tab.md): Read aggregate employer account data and enrollment roster data. - [Census](https://getprescience.com/docs/guides/census.md): Learn how to submit a census: the member schema, validation rules, and quoting vs enrollment requirements. - [Census sync](https://getprescience.com/docs/guides/census-sync.md): Learn how to sync new hires, terminations, and COBRA: one call each, before and after enrollment. - [Check-powered platforms](https://getprescience.com/docs/guides/check-powered-platforms.md): Map Check payroll objects onto the Prescience census API. Every required field is already in Check. - [Enrollment](https://getprescience.com/docs/guides/enrollment.md): Learn how to enroll an employer group and track onboarding through activation. - [Plan metadata](https://getprescience.com/docs/guides/marketplace-listing.md): Read static plan fields and combine them with a group quote. - [Quotes](https://getprescience.com/docs/guides/quotes.md): Learn how quotes are priced and how to read every field of the Quote object. - [Webhooks](https://getprescience.com/docs/guides/webhooks.md): Learn how to receive and verify signed events for everything that happens after your API call returns. - [Introduction](https://getprescience.com/docs/introduction.md): Create groups, submit census data, generate quotes, and track enrollments with the Partner API. - [Quickstart](https://getprescience.com/docs/quickstart.md): Run the core Partner API flow in test mode. - [Changelog](https://getprescience.com/docs/resources/changelog.md): What changed in the Partner API. - [Compliance](https://getprescience.com/docs/resources/compliance.md): How the plan is structured, how data is handled, and what happens before go-live. - [Errors](https://getprescience.com/docs/resources/errors.md): Every endpoint returns the same error envelope with a stable, machine-readable code. - [Rate limits & idempotency](https://getprescience.com/docs/resources/rate-limits.md): Per-key rate limits, 429 handling, and Idempotency-Key replay semantics. - [Environments](https://getprescience.com/docs/test-mode.md): Test and live are two isolated environments behind one base URL. Learn what runs in each. ## OpenAPI Specs - [openapi](https://getprescience.com/docs/api-reference/openapi.json) ## Optional - [getprescience.com](https://www.getprescience.com)