---
title: "Changes to Create a questionnaire"
method: POST
path: "/api/questionnaires/"
---

# Changes to Create a questionnaire

`POST /api/questionnaires/`

> Every recorded change to this endpoint, newest first.
> 49 revisions in range; 1 not diffed.

## Timeline

Changed in 2 of 49 revisions.

- **2026-08-31** `97e51f27dc77` — 12 breaking, 1 warning, 12 info
- **2026-08-13** `8b48cb95655b` — 1 info

## Changes

- **2026-08-31** `97e51f27dc77` — 12 breaking, 1 warning, 12 info
  - request property `templateId/anyOf[subschema #2]/` was restricted to a list of enum values
  - the `templateId/anyOf[subschema #2]/` request property type changed from `null` to `string`
  - the response property `data/companyId` became nullable for the status `201`
  - the response property `data/description` became nullable for the status `201`
  - the response property `data/isActive` became nullable for the status `201`
  - the response property `data/isArchived` became nullable for the status `201`
  - the response property `data/isRetraced` became nullable for the status `201`
  - the response property `data/isTemplate` became nullable for the status `201`
  - the response property `data/name` became nullable for the status `201`
  - the response property `data/statistics` became nullable for the status `201`
  - the response property `data/status` became nullable for the status `201`
  - the response property `data/templateId` became nullable for the status `201`
  - changed the pattern of the request property `dueDate` from `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - the request property `templateId/anyOf[subschema #2]/` became nullable
  - added the new `undefined` enum value to the request property `templateId/anyOf[subschema #2]/`
  - response property `data/companyId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/description` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/isActive` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/isArchived` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/isRetraced` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/isTemplate` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/name` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/statistics` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/status` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/templateId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
- **2026-08-13** `8b48cb95655b` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/retraced/apis/api-reference/docs/api/questionnaires/post.md) · [API](https://skmtc.dev/retraced/apis/api-reference.md) · [Page](https://skmtc.dev/retraced/apis/api-reference/changes/api/questionnaires/post)
