Refresh Patient Results (v1)
Method & Path
POST /api/v1/public/labs/patient-results
Description
Refresh the lab results using a session token returned from OTP verification. Intended for the Customer (patient) refresh button.
Session Token
The session token is issued by POST /api/v1/public/labs/patient-otp/verify and expires after 7 days.
Authentication
None: Public endpoint. Persona access: Customer (patient).
Headers
Content-Type: application/json
Request Body
{
"sessionToken": "eyJhbGciOi..."
}
Response 200 OK
{
"workspaces": [
{
"workspace": {
"id": "66f0cbdc0c0f0a0a0a0a0a0a",
"name": "Placio Lab"
},
"clients": [
{
"id": "66f0cbe50c0f0a0a0a0a0a0b",
"name": "Patient Name"
}
],
"labVisits": []
}
]
}
Common Errors
- 400 Bad Request: Missing session token.
- 422 Unprocessable Entity: Session expired, re-verify required.
- 500 Internal Server Error: Unexpected server error.