Lab Data API now covers 59 biomarkers across 11 panels, adds batch upload for high-volume integrations, introduces a Notification Webhook for failure events, and includes a no-code sandbox for testing. Existing integrations work without changes.
What's new in this release?
- 13 new biomarkers: 11 in 6 new panels — Vitamin D (3), Iron Studies (4), Ferritin (1), C-Reactive Protein (1), High-Sensitivity CRP (1), Erythrocyte Sedimentation Rate (1); and 2 in CMP (Urea and Total Protein).
- Batch upload — declare up to 1,000 documents in a single request and upload each file directly to its temporary URL.
- Notification Webhook — receive a notice for every document that does not generate a result, with the specific reason.
- Portal sandbox — test Lab Data API without writing code, up to 10 times per client, free of charge.
- Reliability improvements — automatic retry when the extraction service is saturated, and automatic close of documents stuck for more than one hour.
- Resubmission of failed documents — the deduplication check no longer blocks a document that previously ended in document_failed.
- Unit corrections removed — ROOK no longer adjusts values for unit inconsistencies, so value_corrected_bool and original_value_float are no longer sent. Doubtful values are delivered as printed and marked with plausibility_flag.
Which panels and biomarkers does Lab Data API support now?
Lab Data API now supports 59 biomarkers across 11 panels:
- Complete Blood Count (CBC): 21 biomarkers — unchanged.
- Comprehensive Metabolic Panel (CMP): 16 biomarkers. Added: Urea and Total Protein.
- Lipid Panel: 5 biomarkers — unchanged.
- Thyroid Panel: 5 biomarkers — unchanged.
- HbA1c: 1 biomarker — unchanged.
- Vitamin D (new): 3 biomarkers — 25-Hydroxyvitamin D (Total), 25-Hydroxyvitamin D3, 25-Hydroxyvitamin D2.
- Iron Studies (new): 4 biomarkers — Iron, TIBC, UIBC, Transferrin Saturation.
- Ferritin (new): 1 biomarker.
- C-Reactive Protein (new): 1 biomarker.
- High-Sensitivity CRP (new): 1 biomarker.
- Erythrocyte Sedimentation Rate (new): 1 biomarker.
Each biomarker is delivered with its LOINC code and in its canonical unit, regardless of the unit printed on the document.
How does batch upload work?
Batch upload is a two-step process, designed for integrations that need to submit large volumes of documents efficiently.
- Declare the batch. Send a JSON body to POST /client_uuid/{client_uuid}/batches with a list of up to 1,000 documents. Each entry includes a user_id and a timezone. ROOK responds with a batch_id and a temporary presigned upload URL per document.
- Upload each file. Your backend sends each file directly to its presigned URL. The upload must arrive within 60 minutes of receiving the URL and within 24 hours of declaring the document.
Batch limits:
- Up to 1,000 documents per request.
- Up to 1,000 pending batch documents per client across all batches at once.
- Upload URL valid for 60 minutes. If it expires, request a new one using the batch_id and document_id; the 24-hour window is not reset.
- Batch documents are processed at a controlled rate, so a large batch does not delay documents submitted individually.
Batch upload uses your existing client_uuid and secret_key credentials. No additional activation is required.
What is the Notification Webhook?
Lab Data API now sends a notice to your Notification Webhook whenever a document does not generate a result. Each notice identifies the document and one of four types:
- document_failed — the document could not be processed and will not be retried automatically. Fix the issue and resubmit; the deduplication check will not block it.
- document_duplicate — your organization already submitted a file with exactly the same content.
- document_expired — batch upload only. The file was not uploaded within 24 hours of the document being declared.
- document_rejected — batch upload only. The uploaded file does not meet the requirements (format, size, page count, or timezone).
To receive notices, configure your Notification Webhook in the ROOK Portal under Set up → Webhook → Notification Webhook.
How do I enable Lab Data API?
- Activate Lab Data API from the ROOK Portal: go to Products → ROOK Connect and turn on Lab Data API. You can also contact the ROOK Support team or your account manager. For FHIR R4 output, activate it from the ROOK Portal or through the ROOK Support team. FHIR R4 output requires the Clinical Ready add-on; without it, Lab Data API delivers results in ROOK JSON.
- Make sure your Data Webhook is configured and routes data_structure: "lab_result_event".
- To receive failure notices, configure your Notification Webhook in the ROOK Portal under Set up → Webhook → Notification Webhook.
- Submit laboratory documents from your backend to the Lab Data API endpoint, individually or in batches, and store the document_id returned for each document.
The new biomarkers and reliability improvements do not require any changes to your existing integration.
Lab Data API FAQ
1. Do I need to change my existing integration to receive the new biomarkers?
No. If your webhook handler already stores the full laboratory_data payload, the new panels and biomarkers appear automatically. If your code filters by panel name or LOINC code, add the new values to continue receiving them.
2. What problem does Lab Data API solve?
Lab Data API lets you add laboratory results to your product without asking users to enter values manually, and without building and maintaining your own document processing infrastructure.
3. Which panels and biomarkers does Lab Data API support?
59 biomarkers across 11 panels: Complete Blood Count (CBC), Comprehensive Metabolic Panel (CMP), Lipid Panel, Thyroid Panel, HbA1c, Vitamin D, Iron Studies, Ferritin, C-Reactive Protein, High-Sensitivity CRP and Erythrocyte Sedimentation Rate. The complete list, with each LOINC code and canonical unit, is in the Lab Data API documentation.
4. Which file formats can I submit?
PDF, JPEG and PNG, up to 10 MB. Other formats — HEIC, WebP, GIF, TIFF, Word documents — are rejected with 400 Bad Request. Convert them to PDF, JPEG or PNG before submitting. ROOK identifies the file type from its content, not from its extension.
5. Can I submit a multi-page report?
Yes, as a single PDF. Each request or batch document slot contains one file. For batch upload, each document may have up to 20 pages; a document that exceeds this limit is rejected with a document_rejected notice.
6. Why is the sample collection date and time required?
Lab Data API needs it to process the document. If either is missing or cannot be read, processing fails and no Data Webhook is sent.
7. How is the time zone determined?
ROOK uses the time zone identified in the document first, then the value you send in the timezone field. If neither is available, timestamps are returned without time zone information. The timezone value must be an ISO-8601 UTC offset (-14:00 to +14:00, or Z for UTC).
8. What happens to biomarkers that are not supported?
They are reported in rejected_biomarkers_array with the reason unsupported_biomarker.
9. Is there an endpoint to check the processing status?
No. All results are delivered automatically to your Data Webhook. Store the document_id returned when you submit a document: the same value arrives in the result as laboratory_data.metadata.document_id_string.
10. I submitted a document and did not receive a Data Webhook or a Notification Webhook notice. What happened?
With the new 1-hour timeout, any document stuck for more than one hour is automatically closed as failed and generates a document_failed notice on your Notification Webhook. If you did not receive either webhook, check that both webhooks are configured and that your endpoint is publicly accessible. Contact ROOK Support with the document_id if the issue persists.
11. Can I resubmit a document that previously failed?
Yes. Starting with this release, the deduplication check no longer blocks a document that previously ended in document_failed. Documents that ended in document_duplicate or that completed successfully are still deduplicated.
12. Do ROOK JSON and FHIR R4 include the same information?
Both formats share the same top-level fields and metadata. confidence_float and plausibility_flag are included in ROOK JSON but not in the FHIR R4 output.
13. Can I call Lab Data API from a web browser or a mobile app?
No. Lab Data API uses your client_uuid and secret_key, which grant access to your ROOK integration. Submit documents from your backend so the credentials are never exposed to end users.
14. Is Lab Data API activated in all environments at once?
No. Sandbox and Production are activated separately. Activation in Sandbox does not activate Production. FHIR R4 output requires the Clinical Ready add-on.
15. Does Lab Data API interpret results or provide medical advice?
No. Lab Data API structures and standardizes what the laboratory report says. status_string compares each value with the reference range printed on the document. Lab Data API does not diagnose conditions or recommend treatment, and it does not replace the judgment of a qualified professional.
Additional resources
Technical documentation: Lab Data API
Knowledge Base: