---
title: "Create Template Endpoint"
method: POST
path: "/api/v1/remy/templates"
tags: ["remy", "remy"]
---

# Create Template Endpoint

`POST /api/v1/remy/templates`

Create a template for this user — always user-scoped; global templates aren't creatable through this endpoint yet.

## Request body

- CreateTemplateRequestDTO
  - `name` string, required
  - `kind` string
  - `category` 'funny' | 'casual' | 'professional' | 'formal' | 'friendly' | 'enthusiastic' | 'direct' | 'flattering' | 'playful' | 'persuasive' | 'personalized' | 'concise' | 'storytelling' | 'luxury' | 'bold' | 'empathetic' | 'curious' | 'urgent' | 'minimal' | 'other'
  - `data` TemplateDataDTO, required
    - `body` string, required
    - `variables` string[], nullable

## Response `200`

Successful Response

- TemplateDTO
  - `id` string, required
  - `scope` string, required
  - `user_id` string, nullable
  - `kind` string, required
  - `category` string, nullable
  - `name` string, required
  - `data` object, required
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

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