---
title: "POST /contracts/{id}/preview"
method: POST
path: "/contracts/{id}/preview"
tags: ["contracts"]
---

# POST /contracts/{id}/preview

`POST /contracts/{id}/preview`

## Request

- Base URL: `https://api.propstack.de/v2`
- URL: `https://api.propstack.de/v2/contracts/{id}/preview`
- Auth: API key in header `X-Api-Key`

Preview contract changes or deletion without saving. Deletion requires destroy permission.

## Path parameters

- `id` integer, required

## Request body

- PostContractsIdPreview: Preview contract changes or deletion without saving. Deletion requires destroy permission.
  - `attributes` object
  - `follow_up` object
  - `lock_version` integer
  - `mode` 'save' | 'discard'

## Response `201`

Preview contract changes or deletion without saving. Deletion requires destroy permission.

## Changes

- **2026-10-15** `5be14c712b67`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/propstack/apis/propstack-api-v2-beta/changes/contracts/:id/preview/post.md)

---

[API](https://skmtc.dev/propstack/apis/propstack-api-v2-beta.md) - [All operations](https://skmtc.dev/propstack/apis/propstack-api-v2-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/propstack/apis/propstack-api-v2-beta/revisions/b68ea1933caa?raw)
