GuideLab API

Get order files

Returns all files attached to an order along with product file requirements. Requirements define what file types each product expects (scans, photos, prescriptions, etc.) and their upload rules.

GET
/orders/{id}/files

Returns all files attached to an order along with product file requirements. Requirements define what file types each product expects (scans, photos, prescriptions, etc.) and their upload rules.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Path Parameters

id*string

Order ID

Response Body

application/json

curl -X GET "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000/files"
{  "files": [    {      "id": "string",      "orderId": "string",      "name": "string",      "type": "string",      "mimeType": "string",      "size": 0,      "url": "string",      "thumbnailUrl": "string",      "fileRequirementId": "string",      "orderPhaseId": "string",      "uploadedBy": "string",      "uploaderName": "string",      "createdAt": "string",      "updatedAt": "string"    }  ],  "requirements": [    null  ]}
Empty
Empty
Empty
Empty