Accept a lab's invitation
Makes the lab and practice active partners in one step. Expired, cancelled and already-decided invitations are refused; the same practice's replay answers as before.
Makes the lab and practice active partners in one step. Expired, cancelled and already-decided invitations are refused; the same practice's replay answers as before.
Authorization
smilelineBearer AuthorizationBearer <token>
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
id*string
Length
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/accept" \ -H "Content-Type: application/json" \ -d '{ "practiceRef": "string" }'{ "invitationId": "string", "labId": "string", "status": "pending"}Empty
Empty
Empty
{ "error": "string", "code": "string"}