Use this file to discover all available pages before exploring further.
This walkthrough creates a patient, verifies their insurance eligibility, and
returns the normalized benefit response — the smallest end-to-end loop that
exercises auth, request shape, and our response envelope.
In the Foresight dashboard, go to Settings → API keys → Create key. Choose
the scopes you need (least-privilege; for this walkthrough you need
patients:write and eligibility:read) and copy the returned key.
API keys are shown once at creation. Store them in a secrets manager (AWS
Secrets Manager, Doppler, 1Password). Never commit them to a repo or embed
them in client-side code.
API keys begin with the prefix fsk_ followed by a 64-character random body.
The response includes the raw 271 transaction, normalized benefits (copay,
deductible, coinsurance, OOP max), and a status of eligible,
ineligible, or needs_review.