---
title: "Create a new template for the request account"
method: POST
path: "/templates"
tags: ["templates"]
---

# Create a new template for the request account

`POST /templates`

Creates a new template and returns the definition

## Request body

- TemplateConfiguration — The configurable attributes of a template
  - `type` 'alert' | 'event' — Type of the template
  - `name` string — Name of the template
  - `description` string — Description of the template
  - `content` string — Content of the template

## Response `200`

The template was successfully created

- Template — Identifier for a template
  - `type` 'alert' | 'event' — Type of the template
  - `name` string — Name of the template
  - `description` string — Description of the template
  - `content` string — Content of the template
  - `href` string — A reference to this template

---

[API](https://skmtc.dev/webscale/apis/webscale-apis.md) · [All operations](https://skmtc.dev/webscale/apis/webscale-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webscale/webscale-apis/revisions/c98d872b50cb/schema)
