> ## Documentation Index
> Fetch the complete documentation index at: https://getprescience.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API overview

> Base URL, conventions, and the shape of every request.

## Base URL

```text theme={null}
https://www.getprescience.com/api/partner/v1
```

Test and live traffic use the same host and paths; the mode comes from your [API key](/authentication) (`psk_test_` / `psk_live_`).

## Conventions

| Convention      | Rule                                                                                         |
| --------------- | -------------------------------------------------------------------------------------------- |
| **Money**       | Always integer cents. `660096` means \$6,600.96. No floats, anywhere.                        |
| **Dates**       | `YYYY-MM-DD`.                                                                                |
| **Timestamps**  | ISO 8601 UTC, e.g. `2026-06-10T17:22:05Z`.                                                   |
| **IDs**         | Typed prefixes: `grp_`, `mem_`, `qt_`, `enr_`, `evt_` + 12 hex chars.                        |
| **Auth**        | `Authorization: Bearer <key>` on every request.                                              |
| **Errors**      | One envelope: `{ error, message, details? }`. Codes in [Errors](/resources/errors).          |
| **Idempotency** | `Idempotency-Key` header on POST/PUT; 24h replay. See [Rate limits](/resources/rate-limits). |
| **Pagination**  | `?limit=` (default 50, max 200) + `?cursor=` on list endpoints; newest first.                |

## The endpoints

Nineteen operations. Four of them launch the integration:

|   | Endpoint                             | Purpose                                             |
| - | ------------------------------------ | --------------------------------------------------- |
| 1 | `POST /groups`                       | Create the employer.                                |
| 2 | `PUT /groups/{groupId}/census`       | Upload the roster.                                  |
| 3 | `POST /groups/{groupId}/quotes`      | Price it, synchronously.                            |
| 4 | `POST /groups/{groupId}/enrollments` | Lock the selection; Prescience takes it from there. |

The rest are reads (`/plans`, `/account`, `/members`, getters for everything above), single-member census sync, and webhook configuration; browse them in the sidebar. Each reference page includes request/response schemas, every error response, and runnable examples that share one consistent dataset (Acme Inc, 12 employees, the same IDs you'll meet in the [quickstart](/quickstart)).
