GuideLab Docs

Connect an Uploader computer

Registers a computer by its key's SHA-256; the same digest again answers the same computer. Owners and admins only. 409 UPLOADER_KEY_TAKEN when the digest is another computer's; 403 UPLOADER_SMILELINE_MANAGED for a clinic run by Smileline.

POST
/uploader/computers

Registers a computer by its key's SHA-256; the same digest again answers the same computer. Owners and admins only. 409 UPLOADER_KEY_TAKEN when the digest is another computer's; 403 UPLOADER_SMILELINE_MANAGED for a clinic run by Smileline.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/uploader/computers" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "tokenHash": "string"  }'
{  "computer": {    "id": "string",    "name": "string",    "status": "active",    "lastSeenAt": "string",    "appVersion": "string",    "createdAt": "string",    "disconnectedAt": "string"  },  "apiOrigin": "string"}
Empty
Empty
Empty
Empty