Decline a lab's invitation
Declines a pending invitation; the same practice's replay answers as before.
Declines a pending invitation; the same practice's replay answers as before.
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/invitations/string/decline" \ -H "Content-Type: application/json" \ -d '{ "practiceRef": "string" }'{ "invitationId": "string", "labId": "string", "status": "pending"}{ "error": "string", "code": "string"}Open an embedded screen POST
Records the actor's role and capabilities at its authority version (an older version is refused; the same one replays), creates or updates the patient for a new order, and returns a URL whose fragment holds a single-use code valid for 60 seconds. The page trades it for a 2-hour session bound to one patient and lab (new_order, resuming that user's latest draft), one submitted order (order) or one lab's finance pages (billing, acting as the practice limited by the capabilities). parentOrigin must be one of the cell's app origins; it is the only origin the page posts messages to.
Erase a patient DELETE
Erases the patient's identity and keeps a tombstone that answers every repeat: pending while erasure runs, held under a lab's legal hold (retried by a repeat), completed when done or never held.