GuideLab Docs

Complete a patient file transfer

Verifies the uploaded bytes against the reservation and stores the file on the patient, where the order wizard suggests it. Replays answer the stored file.

POST
/smileline/v1/files/finalize

Verifies the uploaded bytes against the reservation and stores the file on the patient, where the order wizard suggests it. Replays answer the stored file.

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

Request 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/files/finalize" \  -H "Content-Type: application/json" \  -d '{    "practiceRef": "string",    "sourceRef": "string",    "finalizeToken": "string"  }'
{  "status": "finalized",  "fileId": "string",  "name": "string",  "type": "string",  "mimeType": "string",  "size": 0}
Empty
Empty
Empty
{  "error": "string",  "code": "string"}
Empty