Prerequisites
You need a partner API key issued by Aniva.If you don’t have an API key yet, contact Aniva to get one issued for your partner account.
Steps
1
List available locations
Retrieve the list of test locations to find a Example responseNote the
location_id for the appointment you will schedule.id of the location you want to use. You will need it in step 3.2
Create a profile
Create a patient profile by sending their demographic data. The Request body fieldsNote the
profile_group ties the profile to your partner account — it accepts either the group’s immutable UUID or its human-readable slug.Example response (201 Created)
id from the response. You will use it as profile_id in the next step.3
Schedule an appointment
Create an appointment using the Example response (201 Created)Note the appointment
profile_id from step 2 and the location_id from step 1.id. You will use it to confirm the blood draw.4
Confirm the blood draw
After the blood draw is complete, submit the kit barcode to confirm the draw and trigger the lab order pipeline.Example response (200 OK)Once confirmed, the lab order pipeline is triggered. You can retrieve the appointment to verify its status has changed to
"blood_drawn".Next steps
- Add panels to an appointment to specify which lab tests to run.
- Update an appointment to reschedule or change location before blood draw.
- Cancel an appointment if it is no longer needed.
- Get lab results to retrieve clinical and genetic results after processing.
- Download documents to fetch lab report PDFs.
- Retrieve a profile to check or display patient data.
- Review the full API Reference for all available endpoints and parameters.