Tests
Create a Test
POST
/
v3
/
lab_tests
Authorizations
x-vital-api-key
string
headerrequiredVital Team API Key
Body
application/json
name
string
requiredmethod
enum<string>
requiredThe method used to perform a lab test.
Available options:
testkit
, walk_in_test
, at_home_phlebotomy
description
string
requiredmarker_ids
integer[] | null
provider_ids
string[] | null
fasting
boolean | null
default: falseResponse
200 - application/json
id
string
requiredslug
string
requiredname
string
requiredsample_type
enum<string>
requiredAvailable options:
dried_blood_spot
, arm_collector
, serum
, saliva
, urine
method
enum<string>
requiredAvailable options:
testkit
, walk_in_test
, at_home_phlebotomy
price
number
requiredis_active
boolean
requiredDeprecated. Use status instead.
status
enum<string>
requiredAvailable options:
active
, pending_approval
, inactive
lab
object | null
requiredmarkers
object[] | null
requiredfasting
boolean
default: falseDefines whether a lab test requires fasting.
is_delegated
boolean
default: falseDenotes whether a lab test requires using non-Vital physician networks. If it does then it's delegated - no otherwise.
auto_generated
boolean
default: falseWhether the lab test was auto-generated by Vital