Get order files
Returns all files attached to an order along with product file requirements. Requirements define what file types each product expects (scans, photos, prescriptions, etc.) and their upload rules.
Returns all files attached to an order along with product file requirements. Requirements define what file types each product expects (scans, photos, prescriptions, etc.) and their upload rules.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Order ID
Response Body
application/json
curl -X GET "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000/files"{ "files": [ { "id": "string", "orderId": "string", "name": "string", "type": "string", "mimeType": "string", "size": 0, "url": "string", "thumbnailUrl": "string", "fileRequirementId": "string", "orderPhaseId": "string", "uploadedBy": "string", "uploaderName": "string", "createdAt": "string", "updatedAt": "string" } ], "requirements": [ null ]}Get order by ID GET
Returns full order details including line items, phases, status history, phase step history, production tasks (lab only), and active hold information. Patient data is masked for labs when hidePatientFromLab is enabled.
Get filter options for orders GET
Returns available filter options for the order list, including distinct doctor names, partner organizations (labs for clinics, clinics for labs), and patients (clinics only). Used to populate filter dropdowns in the UI. Each list is capped; `truncated` reports which lists were cut short so the UI can offer a search instead of a partial dropdown.