Profile groups
When you create a profile, you assign it to a profile group using theprofile_group_slug parameter. A profile group organizes profiles under your partner account, scoping them to a specific program or integration. The profile_group_slug is required at creation.
Fields
UUID auto-generated by Aniva. Use this to reference the profile in other API calls.
An optional username or handle for the profile. May be null.
Patient’s first name. Latin characters only, 1–100 characters. Required at creation.
Patient’s last name. Latin characters only, 1–100 characters. May be null.
Patient’s email address. If you do not provide one at creation, Aniva auto-generates a placeholder email.
Phone number in E.164 format (e.g.,
+14155552671). May be null.Biological sex per ISO/IEC 5218:
1 = male, 2 = female. Required at creation.Date of birth in
YYYY-MM-DD format. Must be a date in the past. Required at creation.Height in centimeters. May be null.
Weight in kilograms. May be null.
Preferred language for patient-facing communications. Accepted values:
en, de, fi.ISO 8601 timestamp of when the profile was created.
ISO 8601 timestamp of the most recent update. Null if the profile has never been updated.
The
first_name, sex, date_of_birth, and profile_group_slug fields are required when creating a profile. All other fields are optional.Lifecycle
Profiles follow a simple lifecycle:- Create — register the profile with required demographic fields and a
profile_group_slug. - Update (optional) — add or change fields such as
phone,height, orweight. - Associate — link the profile to appointments using its
idas theprofile_id.