---
title: "Create a validation entry"
method: POST
path: "/leases/{lease_id}/amendments/{amendment_id}/validations"
tags: ["Amendment Validations"]
---

# Create a validation entry

`POST /leases/{lease_id}/amendments/{amendment_id}/validations`

## Request

- Base URL: `https://api.faireplace.com/api`
- URL: `https://api.faireplace.com/api/leases/{lease_id}/amendments/{amendment_id}/validations`
- Auth: HTTP bearer

Add a validation requirement to an amendment. Each validator role can only appear once per amendment.

**Auto-created validations:** For `TENANT_MODIFICATION`, `GUARANTOR_MODIFICATION`, and `EARLY_TERMINATION` amendments,
a mandatory `OWNER` validation is automatically created at amendment creation (Art. 12 & 15 Loi 89-462).

## Path parameters

- `lease_id` string, uuid, required
- `amendment_id` string, uuid, required

## Request body

- CreateAmendmentValidationDto: Data for creating a new validation entry
  - `validator_role` 'LEGAL' | 'FINANCIAL' | 'PROPERTY_MANAGER' | 'OWNER' | 'TENANT', required: Role of the validator
  - `validation_order` integer, required: Order in the validation workflow
  - `is_mandatory` boolean, nullable: Whether this validation is required (defaults to true)
  - `comments` string, nullable: Initial comments

## Response `201`

Validation entry created

- AmendmentValidationResponse: Amendment validation entry: tracks approval by a specific role
  - `id` string, uuid, required: Unique identifier of the validation entry
  - `amendment_id` string, uuid, required: Associated amendment ID
  - `validator_role` 'LEGAL' | 'FINANCIAL' | 'PROPERTY_MANAGER' | 'OWNER' | 'TENANT', required: Role of the validator
  - `validation_order` integer, required: Order in the validation workflow (1 = first)
  - `is_mandatory` boolean, required: Whether this validation is required for amendment activation
  - `status` 'PENDING' | 'APPROVED' | 'REJECTED', required: Current validation status
  - `validation_date` string, date-time, nullable: When the validation was performed
  - `validated_by` string, uuid, nullable: ID of the user who validated
  - `comments` string, nullable: Validator comments

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `409`: A validation entry for this role already exists on this amendment

---

[API](https://skmtc.dev/faireplace/apis/faireplace-property-management-api.md) · [All operations](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/revisions/69de39762919?raw)
