Skip to main content

Base URL

https://www.getprescience.com/api/partner/v1
Test and live traffic use the same host and paths; the mode comes from your API key (psk_test_ / psk_live_).

Conventions

ConventionRule
MoneyAlways integer cents. 660096 means $6,600.96. No floats, anywhere.
DatesYYYY-MM-DD.
TimestampsISO 8601 UTC, e.g. 2026-06-10T17:22:05Z.
IDsTyped prefixes: grp_, mem_, qt_, enr_, evt_ + 12 hex chars.
AuthAuthorization: Bearer <key> on every request.
ErrorsOne envelope: { error, message, details? }. Codes in Errors.
IdempotencyIdempotency-Key header on POST/PUT; 24h replay. See Rate limits.
Pagination?limit= (default 50, max 200) + ?cursor= on list endpoints; newest first.

The endpoints

Nineteen operations. Four of them launch the integration:
EndpointPurpose
1POST /groupsCreate the employer.
2PUT /groups/{groupId}/censusUpload the roster.
3POST /groups/{groupId}/quotesPrice it, synchronously.
4POST /groups/{groupId}/enrollmentsLock 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).