Write in an order's chat
A text message to the lab as one of the practice's users, who must be an active member (409 member_inactive). The same partnership and deletion checks as Guidelab's own chat; clientMessageId is the message id, so an exact retry answers the stored message and reuse with other content is 422.
A text message to the lab as one of the practice's users, who must be an active member (409 member_inactive). The same partnership and deletion checks as Guidelab's own chat; clientMessageId is the message id, so an exact retry answers the stored message and reuse with other content is 422.
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 <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/smileline/v1/orders/string/messages" \ -H "Content-Type: application/json" \ -d '{ "practiceRef": "string", "userRef": "string", "clientMessageId": "string", "content": "string" }'{ "message": { "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" }}{ "error": "string", "code": "string"}