---
title: "Changes to Create Template"
method: POST
path: "/v1/template"
---

# Changes to Create Template

`POST /v1/template`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 24 revisions.

- **2025-10-28** `c9df54e2fb2c`: 2 warning
- **2025-08-13** `c41cd7ae7718`: 1 warning, 3 info
- **2024-09-22** `407b73d9ce28`: 6 breaking, 3 warning, 1 info
- **2024-01-31** `4f557b176ebd`: 8 info
- **2023-12-06** `35be9c1301b7`: 1 info
- **2023-12-05** `5c3748c387f7`: 3 breaking, 5 warning, 7 info

## Changes

- **2025-10-28** `c9df54e2fb2c`: 2 warning
  - removed the optional property `template/is_pdresearch` from the response with the `200` status
  - removed the optional property `template/is_pdtemplate` from the response with the `200` status
- **2025-08-13** `c41cd7ae7718`: 1 warning, 3 info
  - removed the optional property `status` from the response with the `200` status
  - added the new optional `query` request parameter `dir`
  - added the new optional `query` request parameter `filename`
  - added the optional property `template` to the response with the `200` status
- **2024-09-22** `407b73d9ce28`: 6 breaking, 3 warning, 1 info
  - removed the required property `template_id` from the response with the `400` status
  - removed the required property `template_id` from the response with the `401` status
  - removed the required property `template_id` from the response with the `500` status
  - removed the required property `template_name` from the response with the `400` status
  - removed the required property `template_name` from the response with the `401` status
  - removed the required property `template_name` from the response with the `500` status
  - removed the optional property `status` from the response with the `400` status
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `500` status
  - added the new optional `header` request parameter `X-Team-Id`
- **2024-01-31** `4f557b176ebd`: 8 info
  - added the new optional request property `prompt`
  - added the non-success response with the status `400`
  - the response property `template_id` became required for the status `200`
  - the response property `template_id` became required for the status `401`
  - the response property `template_id` became required for the status `500`
  - added the required property `template_name` to the response with the `200` status
  - added the required property `template_name` to the response with the `401` status
  - added the required property `template_name` to the response with the `500` status
- **2023-12-06** `35be9c1301b7`: 1 info
  - api tag `templates` added
- **2023-12-05** `5c3748c387f7`: 3 breaking, 5 warning, 7 info
  - the response property `template_id` became nullable for the status `200`
  - the response property `template_id` became optional for the status `200`
  - removed the required property `template_name` from the response with the `200` status
  - deleted the `header` request parameter `X-Team-Id`
  - deleted the `query` request parameter `dir`
  - deleted the `query` request parameter `filename`
  - removed the request property `prompt`
  - removed the optional property `template` from the response with the `200` status
  - api tag `templates` removed
  - removed the non-success response with the status `400`
  - added the optional property `status` to the response with the `200` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `500` status
  - added the optional property `template_id` to the response with the `401` status
  - added the optional property `template_id` to the response with the `500` status

---

[Operation](https://skmtc.dev/projectdiscovery/apis/pdcp-api/docs/v1/template/post.md) - [API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) - [Page](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/template/post)
