Ask a lab to connect
Sends the lab a partnership request from the practice. A live relationship with that lab is answered as it stands, so replays are safe.
Sends the lab a partnership request from the practice. A live relationship with that lab is answered as it stands, so replays are safe.
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
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/uRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/smileline/v1/practices/string/connections" \ -H "Content-Type: application/json" \ -d '{ "labId": "string" }'{ "connection": { "labId": "string", "labName": "string", "status": "string", "updatedAt": "string" }}{ "connection": { "labId": "string", "labName": "string", "status": "string", "updatedAt": "string" }}{ "error": "string", "code": "string"}Remove a user DELETE
Removes the user's membership and keeps a tombstone at this authority version, so an older grant arriving later is refused.
Write in an order's chat POST
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.