Skip to main content
GET
/
account
/
lab-tests
List Lab Tests
curl --request GET \
  --url https://api.dontdie.com/account/lab-tests \
  --header 'Authorization: Bearer <token>' \
  --header 'x-dd-client-id: <api-key>'
[
  {
    "id": "1234-5678-9012-3456",
    "userId": "1234-5678-9012-3456",
    "testName": "Advanced Panel",
    "labName": "LabCorp",
    "dateCollected": "2021-01-01",
    "dateReceived": "2021-01-01",
    "dateReported": "2021-01-01",
    "kitId": "1234567890",
    "notes": "This is a note",
    "disclaimer": "This is a disclaimer",
    "createdAt": "2021-01-01",
    "updatedAt": "2021-01-01"
  }
]

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format: Bearer

x-dd-client-id
string
header
required

Your API client ID for the request

Response

200 - application/json

OK

id
string

The ID of the lab test

Example:

"1234-5678-9012-3456"

userId
string

The ID of the user

Example:

"1234-5678-9012-3456"

testName
string

The name of the test

Example:

"Advanced Panel"

labName
string

The name of the lab

Example:

"LabCorp"

dateCollected
string

The date the test was collected

Example:

"2021-01-01"

dateReceived
string

The date the test was received

Example:

"2021-01-01"

dateReported
string

The date the test was reported

Example:

"2021-01-01"

kitId
string

The ID of the kit

Example:

"1234567890"

notes
string

The notes of the test

Example:

"This is a note"

disclaimer
string

The disclaimer of the test

Example:

"This is a disclaimer"

createdAt
string

The date the test was created

Example:

"2021-01-01"

updatedAt
string

The date the test was updated

Example:

"2021-01-01"