Skip to main content
Use this guide to find a test location, create an appointment for a patient profile, and attach the test panels to run. Complete these steps before the patient arrives for their blood draw.
1

Browse available locations

Retrieve the list of test locations available on your account by sending a GET request to /api/v1/locations.
The response is an array of location objects:
Use the timezone field from the location object when constructing your scheduled_at timestamp. Converting the appointment time to the location’s local timezone helps you avoid scheduling outside of open hours.
2

Create the appointment

Send a POST request to /api/v1/appointments with the profile ID, location ID, and your desired appointment time.
scheduled_at must be a future datetime in ISO 8601 format, for example 2026-05-12T07:30:00Z. Timestamps in the past are rejected with a 400 error.
A successful request returns 201 Created with the appointment object:
Save the appointment id — you’ll need it to add panels and confirm the blood draw.
3

Add test panels

Attach the test panels you want run on the blood sample by sending a POST request to /api/v1/appointments/{id}/panels.Panel IDs are UUIDs provided by Aniva for your partner account. Contact Aniva if you need the list of available panel IDs.
Panels cannot be added after the blood draw has been confirmed. Add all required panels before confirmation — see Confirm Blood Draw for details.
A successful request returns 200 OK confirming the panels have been added:

Rescheduling or cancelling

After creating an appointment, you can still modify it before the blood draw is confirmed:
  • Reschedule or change location — Send a PATCH request to /api/v1/appointments/{id} with the fields to update. See Update Appointment.
  • Cancel — Send a DELETE request to /api/v1/appointments/{id}. See Cancel Appointment.
Both operations are only available before the blood draw — i.e. while the appointment is in pending or confirmed status. Once the appointment moves to blood_drawn, no further modifications are possible.

Error handling