GET
/
client
/
patient
/
getReports
curl --request GET \
  --url https://v2.flabs.in/client/patient/getReports \
  --header 'Authorization: Bearer <token>' \
  --header 'patient-authorization: <api-key>'
[
  {
    "reportUrl": "report-url",
    "reportDate": "2023-10-01T12:00:00Z",
    "labName": "Lab Name",
    "patientName": "John Doe",
    "tests": [
      "Test 1",
      "Test 2"
    ],
    "_id": "unique-id"
  }
]

Authorizations

Authorization
string
header
required

Authorization token obtained from the auth API

patient-authorization
string
header
required

Patient token in format: Bearer {patientToken}

Response

200
application/json
Successful response
_id
string

Unique identifier for the report

reportUrl
string

URL to download the report PDF

reportDate
string

Date when the report was generated

labName
string

Name of the laboratory

patientName
string

Name of the patient

tests
string[]

List of tests included in the report