---
title: "Seal Contract Revision"
method: POST
path: "/api/agreement/v1/contract-revisions/{id}/seals"
tags: ["Contract Revisions"]
---

# Seal Contract Revision

`POST /api/agreement/v1/contract-revisions/{id}/seals`

## Request

- The document declares no server URL.
- Auth: OpenID Connect (`http://localhost:6999/realms/agate/.well-known/openid-configuration`, scopes: `agridata.ch.Agridata_Admin`)

Seals a contract revision PDF via BIT Evidence Signing API.

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- unknown

## Other responses

- `401`: Not Authorized
- `403`: Not Allowed
- `404`: The resource or element was not found
- `500`: Internal server error: unexpected error

## Changes

- **2026-07-08** `aec259103b95`: 1 warning
  - deleted the `query` request parameter `adminGlobalId`
- **2026-06-02** `7cee7b14bf6f`: 2 warning
  - added the new `DATA_PROVIDER_ERROR` enum value to the `type` response property for the response status `404`
  - added the new `DATA_PROVIDER_ERROR` enum value to the `type` response property for the response status `500`
- **2026-05-12** `5b038eea902d`: 8 warning
  - added the new `OTP_EXPIRED` enum value to the `type` response property for the response status `404`
  - added the new `OTP_EXPIRED` enum value to the `type` response property for the response status `500`
  - added the new `OTP_INVALID` enum value to the `type` response property for the response status `404`
  - added the new `OTP_INVALID` enum value to the `type` response property for the response status `500`
  - …4 more
- **2026-04-20** `198c29041a3a`: 1 breaking, 1 info
  - removed the media type `application/pdf` for the response with the status `200`
  - added the media type `application/json` for the response with the status `200`
- **2026-04-14** `36609d47a3a7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agridata/apis/agridata-ch-api/changes/api/agreement/v1/contract-revisions/:id/seals/post.md)

---

[API](https://skmtc.dev/agridata/apis/agridata-ch-api.md) - [All operations](https://skmtc.dev/agridata/apis/agridata-ch-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agridata/apis/agridata-ch-api/revisions/4f3c6bfcfcfd?raw)
