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
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.Create a profile
Create a patient profile by sending their demographic data. The Request body fields
Example response (201 Created)Note the
profile_group ties the profile to your partner account — it accepts either the group’s immutable UUID or its human-readable slug.| Field | Type | Required | Description |
|---|---|---|---|
first_name | string | Yes | Patient’s first name |
last_name | string | No | Patient’s last name |
sex | integer | Yes | 1 = male, 2 = female (ISO/IEC 5218) |
date_of_birth | string | Yes | Date of birth in YYYY-MM-DD format |
profile_group | string | Yes* | UUID or slug of your partner profile group. UUID is the stable reference; slug is also accepted. |
profile_group_slug | string | No | Deprecated. Slug alias for profile_group. Either profile_group or profile_group_slug is required. |
email | string | No | Patient email. Auto-generated if omitted. |
language | string | No | en, de, or fi. Defaults to en. |
id from the response. You will use it as profile_id in the next step.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.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.