---
title: "Create a new form template"
method: POST
path: "/api/form-templates"
tags: ["Form-Templates"]
---

# Create a new form template

`POST /api/form-templates`

Creates a new form template.

## Request body

- CreateFormTemplateRequest — Request model for creating a form template.
  - `name` string, required — The name of the form template.
  - `description` string, nullable — Optional description of the form template.
  - `isEnabled` boolean, required — Indicates if the form template is enabled.
  - `jsonData` string, required — The JSON data representing the form template structure.

## Response `201`

Form template created successfully.

- CreateFormTemplateResponse — Response model for creating a form template.
  - `id` string, nullable — The ID of the form template.
  - `name` string, nullable — The name of the form template.
  - `description` string, nullable — The description of the form template.
  - `isEnabled` boolean — Indicates if the form template is enabled.
  - `createdAt` string, date-time — The date and time when the form template was created.
  - `modifiedAt` string, date-time, nullable — The date and time when the form template was last modified.
  - `jsonData` string, nullable — The JSON data representing the form template structure.

## Other responses

- `400` — Invalid input data.
- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2025-11-21** `50eff5014b78` — 1 breaking
  - removed the media type `application/problem+json` for the response with the status `400`
- **2025-04-14** `a0bda80cd84a` — 1 info
  - endpoint added
- **2025-03-24** `fbc3fe6ecbf1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/changes/api/form-templates/post.md)

---

[API](https://skmtc.dev/endatix/apis/endatix-platform-rest-api.md) · [All operations](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/endatix/endatix-platform-rest-api/revisions/01bd299fd100/schema)
