---
title: "Create a template"
method: POST
path: "/templates"
---

# Create a template

`POST /templates`

## Request

- Base URL: `https://sendinel.ai/api/v1`
- URL: `https://sendinel.ai/api/v1/templates`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://sendinel.ai/oauth/authorize`, token URL `https://sendinel.ai/oauth/token`)

## Request body

- Template
  - `id` string, uuid, required
  - `name` string, required
  - `category` string, required
  - `description` string
  - `subject_hint` string
  - `brief_template` string, required
  - `body_html` string, nullable
  - `tags` string[]

## Response `201`

Template created

---

[API](https://skmtc.dev/sendinel/apis/sendinel-api.md) · [All operations](https://skmtc.dev/sendinel/apis/sendinel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendinel/apis/sendinel-api/revisions/01f916b0c916?raw)
