---
title: "Create"
method: POST
path: "/api/content/templates"
---

# Create

`POST /api/content/templates`

## Request

- Base URL: `https://api.ascendkit.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ascendkit.dev/api/content/templates`
- Auth: API key in header `X-AscendKit-Public-Key` and HTTP bearer

## Request body

- ContentTemplateCreate
  - `name` string, required
  - `subject` string, required
  - `bodyHtml` string, required
  - `bodyText` string, required
  - `slug` string, nullable
  - `description` string, nullable
  - `category` 'transactional' | 'marketing'

## Response `200`

Successful Response

- ApiResponse
  - `data` unknown
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

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