Get order messages
Returns messages for an order, filterable by type (all, notes, replies). Internal messages are visible only to the organization that authored them. Results are ordered by newest first.
Returns messages for an order, filterable by type (all, notes, replies). Internal messages are visible only to the organization that authored them. Results are ordered by newest first.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Order ID
Query Parameters
Message type filter: all, notes, replies
Response Body
application/json
curl -X GET "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000/messages"[ { "id": "string", "orderId": "string", "senderUserId": "string", "senderOrgId": "string", "senderName": "string", "senderOrgName": "string", "content": "string", "isInternal": true, "createdAt": "string", "updatedAt": "string" }]Get hold requirements for order GET
Returns the active hold and its file reupload requirements for an order. Accessible by both labs and clinics with access to the order. Returns null if no active hold exists.
Get order print data GET
Returns comprehensive order data formatted for document generation and printing, including lab/clinic addresses, line items with custom fields, patient details, and document settings (title, terms, footer). Patient data is masked for labs when hidePatientFromLab is enabled.