GuideLab Docs

Search labs a practice can connect to

Discoverable labs the practice has no live connection with, by name and optionally nearest first. Twenty per page.

GET
/smileline/v1/labs

Discoverable labs the practice has no live connection with, by name and optionally nearest first. Twenty per page.

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

Query Parameters

practiceRef*string
Match^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u
q?string
Lengthlength <= 100
near?string
Match^-?\d{1,2}(\.\d+)?,-?\d{1,3}(\.\d+)?$/u
page?integer
Range1 <= value <= 10000
Default1

Response Body

application/json

application/json

curl -X GET "https://example.com/smileline/v1/labs?practiceRef=string"
{  "labs": [    {      "labId": "string",      "name": "string",      "city": "string",      "country": "string",      "description": "string",      "categories": [        "string"      ]    }  ],  "page": 0,  "totalPages": 0}
Empty
Empty
Empty
{  "error": "string",  "code": "string"}