---
title: "Calculate contract Nom151 signature"
method: POST
path: "/omni/calculate-contract-nom151-signature"
tags: ["Nom151"]
---

# Calculate contract Nom151 signature

`POST /omni/calculate-contract-nom151-signature`

## Request

- Base URL: `https://demo-api.incodesmile.com`
- URL: `https://demo-api.incodesmile.com/omni/calculate-contract-nom151-signature`
- Auth: API key in header `x-api-key` and API key in header `X-Incode-Hardware-Id`
- TypeScript: <https://skmtc.dev/incode/apis/incode-omni-api/docs/omni/calculate-contract-nom151-signature/post.ts> (a function with typed inputs; its response is checked against the schema)

This api endpoint calculates the Nom151 signature of an already signed contract and returns the signature.

## Headers

- `api-version` string, required

## Request body

- CalculateContractNom151SignatureRequest
  - `includeSignedDocumentInResponse` boolean: Includes the signed document in base64 in response
  - `includeCertificateDetailsInResponse` boolean: Includes the signed document with the Nom 151 signature attached in the pdf in the response
  - `signedContractId` string, required: The id of the already signed contract

## Response `200`

OK

- ExtendedResponse
  - `success` boolean: Flag indicating request passed successfully.
  - `sessionStatus` 'Alive' | 'Closed' | 'Deleted': Session status
  - `additionalInformation` object

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/incode/apis/incode-omni-api.md) - [All operations](https://skmtc.dev/incode/apis/incode-omni-api/llms.txt) - [OpenAPI document](https://skmtc.dev/incode/apis/incode-omni-api/revisions/30cd6d926ea3?raw)
