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 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
practiceRef*string
Match
^[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" }}Empty
Empty
Empty
{ "error": "string", "code": "string"}