Tests
Create a Test
POST
/
v3
/
lab_tests
Authorizations
x-vital-api-key
string
headerrequiredVital Team API Key
Body
application/json
marker_ids
integer[]
requiredlab_id
integer
requiredname
string
requiredmethod
enum<string>
requiredThe method used to perform a lab test.
Available options:
testkit
, walk_in_test
, at_home_phlebotomy
sample_type
enum<string>
requiredThe type of sample used to perform a lab test.
Available options:
dried_blood_spot
, serum
, saliva
, urine
description
string
requiredfasting
boolean
default: falseResponse
200 - application/json
id
string
requiredslug
string
requiredname
string
requiredsample_type
enum<string>
requiredThe type of sample used to perform a lab test.
Available options:
dried_blood_spot
, serum
, saliva
, urine
method
enum<string>
requiredThe method used to perform a lab test.
Available options:
testkit
, walk_in_test
, at_home_phlebotomy
price
number
requiredis_active
boolean
requiredDeprecated. Use status instead.
status
enum<string>
requiredAn enumeration.
Available options:
active
, pending_approval
, inactive
fasting
boolean
default: falseDefines whether a lab test requires fasting.
lab
object
markers
object[]
is_delegated
boolean
default: falseDenotes whether a lab test requires using non-Vital physician networks. If it does then it's delegated - no otherwise.