---
title: "Get informed consent template"
method: GET
path: "/api/consents/template"
tags: ["consents"]
---

# Get informed consent template

`GET /api/consents/template`

Deprecated: use GET /consents/v2/template. Returns the template including the legacy tax data transmission checkbox.

## Query parameters

- `consent_type` 'psychological' | 'nutritional', required — Informed consent type constants.
- `operator_id` string, uuid, required

## Response `200`

Successful Response

- ConsentTemplateResponse — Informed consent template with full text, fields and checkboxes.
  - `consent_type` 'psychological' | 'nutritional', required — Informed consent type constants.
  - `operator_id` string, uuid, required — Operator UUID
  - `operator_profession` string, required — Operator profession (PSICOLOGO, NUTRIZIONISTA)
  - `title` string, required — Consent title
  - `full_text` string, required — Full consent text with placeholders {}
  - `fields` ConsentFormField[], required — List of form fields with required/optional indicator
    - `id` string, required — Field identifier matching form_data key
    - `label` string, required — Field display label
    - `required` boolean, required — If field is always required (False when conditionally required, see required_if)
    - `required_if` ConsentFormFieldRequiredIf — Condition that makes a field required when another field has a specific value.
      - `field` string, required — ID of the field that controls the condition
      - `value` string, required — Value that triggers the required state
    - `type` string — Field type: text, date, select, email, phone
    - `editable` boolean — If field is editable by the user
  - `checkboxes` ConsentCheckbox[], required — List of consent checkboxes
    - `id` string, required — Checkbox identifier
    - `label` string, required — Checkbox label text
    - `required` boolean, required — If checkbox is required
    - `description` string, required — Full description text above checkbox
  - `prefilled_data` ConsentPrefilledData — Prefilled data for consent form. Patient name as first_name and last_name.
    - `first_name` string, required — Patient first name
    - `last_name` string, required — Patient last name
    - `birth_place` string, required — Birth place
    - `birth_date` string, required — Birth date (DD/MM/YYYY)
    - `residence` string, required — Full residence address
    - `tax_code` string, required — Tax code (codice fiscale)
    - `is_minor` boolean, required — Whether patient is a minor
    - `guardian_section` string — Guardian section text (empty if not applicable)
    - `minor_guardians_type` string — Minors only: tutor, parents
    - `parents_signature_mode` string — Minors only (parents): both_parents, single_parent
    - `single_parent_reason` string — Minors only (single_parent): deceased_other_parent, sole_custody, unknown_or_absent, other
    - `guardians` GuardianPerson[] — Minors only: list of guardians/parents (1 or 2)
      - `full_name` string, required — Full name
      - `birth_place` string, required — Birth place
      - `birth_date` string, required — Birth date (DD/MM/YYYY)
      - `residence` string, required — Full residence address
      - `tax_code` string, required — Tax code (codice fiscale)
      - `relationship` string, required — Relationship: parent, tutor
    - `guardian_1_full_name` string — Guardian 1 full name
    - `guardian_1_birth_place` string — Guardian 1 birth place
    - `guardian_1_birth_date` string — Guardian 1 birth date (DD/MM/YYYY)
    - `guardian_1_residence` string — Guardian 1 residence
    - `guardian_1_tax_code` string — Guardian 1 tax code
    - `guardian_1_relationship` string — Guardian 1 relationship
    - `guardian_2_full_name` string — Guardian 2 full name
    - `guardian_2_birth_place` string — Guardian 2 birth place
    - `guardian_2_birth_date` string — Guardian 2 birth date (DD/MM/YYYY)
    - `guardian_2_residence` string — Guardian 2 residence
    - `guardian_2_tax_code` string — Guardian 2 tax code
    - `guardian_2_relationship` string — Guardian 2 relationship
    - `operator_name` string, required — Operator full name
    - `operator_license_number` string — Operator professional registration number (albo)
    - `operator_professional_section` string — Operator professional section
    - `operator_regional_professional_order` string — Operator regional professional order
    - `gp_first_name` string — General practitioner first name
    - `gp_last_name` string — General practitioner last name
    - `gp_phone` string — General practitioner phone
    - `gp_email` string — General practitioner email

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
