Get your profile group reference
Every profile must be assigned to a profile group that belongs to your partner account. The
profile_group field accepts either the group’s immutable UUID or its human-readable slug — UUID is preferred because it never changes and survives slug renames.If you don’t know your profile group reference, contact Aniva to retrieve it. You cannot create profiles without a valid reference.Create the profile
Send a A successful request returns Save the
POST request to /api/v1/profiles with the patient’s demographic data.The
first_name field accepts only latin characters (A–Z, a–z). Names with non-latin scripts must be transliterated before submission.If you omit
email, Aniva auto-generates a placeholder email address for the profile. You can update it later with a PATCH request.201 Created with the new profile object:id — you’ll need it to schedule appointments and update the profile.Update the profile (optional)
Use A successful request returns
PATCH /api/v1/profiles/{id} to update any profile fields after creation. All fields are optional — only include the fields you want to change.The following example adds a phone number and height:200 OK with the full updated profile object.Error handling
| Status | Cause | Resolution |
|---|---|---|
400 Bad Request | A required field is missing, a value is out of range, or date_of_birth is not in the past. | Check the error response body for the specific validation message and correct the request. |
403 Forbidden | Your API key does not have access to this operation, or you do not have access to the specified profile group. | Contact Aniva to confirm your API key permissions and profile group access. |
404 Not Found | The profile_group value does not match any profile group on your account (neither by UUID nor by slug). | Verify the reference is correct. Contact Aniva if you are unsure of your UUID or slug. |