---
title: "Creating an contract"
method: POST
path: "/contracts"
tags: ["Contracts"]
---

# Creating an contract

`POST /contracts`

Creates new contract

## Request body

- object
  - `preEmployeeId` number, required — Pre-employee internal id found in the route [GET] /pre-employees
  - `witnesses` string[]
  - `contractSigners` object[], required — List of contract signers
    - `name` string
    - `email` string, email
    - `signerType` 'sign' | 'witness' | 'legal_representative' | 'legal_responsible'
  - `files` object[], required — List of contract files
    - `filename` string — File name with extension
    - `content` string — Data URI with contract content (doc, docx or pdf)
  - `deadline` string, date-time, required — ISO 8601 deadline for signing the contract
  - `notificationMessage` string
  - `signersTemplateId` number — Signers template id
  - `remindInterval` number — Number in days for send reminders

## Response `200`

Successful operation

- object
  - `contractIds` number[]

---

[API](https://skmtc.net/gupy/apis/gupy-public-api.md) · [All operations](https://skmtc.net/gupy/apis/gupy-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupy/gupy-public-api/versions/3f26defa2a42/schema)
