Read an order's chat
Shared messages after the given sharedSequence, oldest first, up to 100 a page, with each side's read cursor. Internal notes of either side are never listed; a thread whose deletion was authorized reads as placeholders, and attachments are metadata only.
Shared messages after the given sharedSequence, oldest first, up to 100 a page, with each side's read cursor. Internal notes of either side are never listed; a thread whose deletion was authorized reads as placeholders, and attachments are metadata only.
Authorization
smilelineBearer Smileline cell credential gl_sl_v1_<cell>_<secret>, one per Smileline cell; accepted only on /smileline/v1. A practice belongs to one cell and is not found from any other.
In: header
Path Parameters
1 <= length <= 200Query Parameters
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u0 <= value <= 214748364701 <= value <= 10050Response Body
application/json
application/json
curl -X GET "https://example.com/smileline/v1/orders/string/messages?practiceRef=string"{ "messages": [ { "id": "string", "sharedSequence": 1, "side": "lab", "senderRef": "string", "senderName": "string", "content": "string", "messageType": "string", "attachments": [ { "id": "string", "name": "string", "mimeType": "string", "size": 0 } ], "createdAt": "string" } ], "nextAfter": 0, "hasMore": true, "labLastReadSequence": 0, "practiceLastReadSequence": 0}{ "error": "string", "code": "string"}Search labs a practice can connect to GET
Discoverable labs the practice has no live connection with, by name and optionally nearest first. Twenty per page.
Reserve and sign a patient file transfer POST
Reserves (practice, sourceRef) with its patient, size and SHA-256 before signing, so a replay reuses the same file; a finalized transfer answers exists. PUT the bytes to uploadUrl with uploadContentType and the declared length, then finalize. Up to 2,147,483,647 bytes.