---
title: "Create comment template"
method: POST
path: "/comment-templates"
tags: ["comment-templates"]
---

# Create comment template

`POST /comment-templates`

Create comment template.

-  PERMISSIONS: `api_comment_template:create`

## Request body

- CommenttemplateEditRequest — unresolved $ref

## Response `201`

Created

- CommenttemplateResponse — unresolved $ref

## Other responses

- `400` — Bad Request

## Changes

- **2026-03-17** `c271158ce44e` — 1 info
  - endpoint added
- **2026-03-13** `f7716f144fcd` — 1 breaking
  - api path removed without deprecation
- **2026-03-13** `a34e2fd5d5ba` — 1 breaking, 2 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `400`
  - added the optional property `error` to the response with the `400` status
  - added the optional property `message` to the response with the `400` status
- **2026-03-13** `a99147714408` — 1 info
  - endpoint added
- **2025-11-04** `fb4f0c9642fd` — 1 breaking
  - api path removed without deprecation

[Full history](https://skmtc.dev/capensis/apis/canopsis-community-api/changes/comment-templates/post.md)

---

[API](https://skmtc.dev/capensis/apis/canopsis-community-api.md) · [All operations](https://skmtc.dev/capensis/apis/canopsis-community-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/capensis/canopsis-community-api/revisions/7c842289e811/schema)
