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

# Create Template Endpoint

`POST /api/v1/remy/templates`

## Request

- Base URL: `https://api.brandbooster.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brandbooster.ai/api/v1/remy/templates`
- Auth: HTTP bearer

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/brandbooster-api.md) - [All operations](https://skmtc.dev/brandbooster/apis/brandbooster-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/brandbooster-api/revisions/02d28bde684c?raw)
