Skip to main content
This walkthrough goes from OAuth2 credentials to a result. It uses staging, so nothing here creates a real order or charge. Each step builds on the previous one.
Prerequisite: a staging client ID + secret (see API credentials). Set them once:
1

Get an access token

Exchange your credentials for a short-lived token. Request result report so you can read results.
2

Find a product in the catalog

Response
Keep the code (GUT_ZOOMER) — you’ll use it in the quote and the order.
3

Create a patient

Response
4

Quote and check eligibility

Always quote before ordering — the catalog price is only indicative, and the quote confirms the patient can order these tests.
Response
If eligible is false, the response lists every failing reason. Fix and re-quote.
5

Place the order

Order the same codes. placerId is your optional idempotency key — resending it never double-charges (omit it and every call places a new order).
Response
Save the accessionId — it’s how you retrieve the report.
6

Get the report

Fetch by accessionId (or a numeric sampleId — auto-detected). You always get 200 with the report status; the result content appears as soon as any report is ready, including preliminary (no 404 to poll).
Response
Track progress with the report status (registered → preliminary → final) instead of polling for a 404.

What’s next

API reference

Every field and error, with a try-it console.

Core concepts

How orders and reports fit together.