---
title: "Create content template"
method: POST
path: "/v1/contentTemplates/create"
tags: ["contentTemplates"]
---

# Create content template

`POST /v1/contentTemplates/create`

## Request

- Base URL: `https://api.zevari.ai`
- URL: `https://api.zevari.ai/v1/contentTemplates/create`
- Auth: HTTP bearer

Transport: call this endpoint with HTTP POST and a JSON request body. Create a new user-owned content template in the Library.

## Request body

- object
  - `slug` string, required: Lowercase slug (a-z, 0-9, hyphens). Must be unique within your account.
  - `name` string, required: Human-readable name shown in Library
  - `content_type` 'post' | 'comment', required: Whether this template is for LinkedIn posts or comments
  - `framework` string, required: Framework family (e.g. 'thought-leadership', 'story', 'custom')
  - `description` string
  - `purpose` string
  - `variant` string
  - `prompt_components` object: Prompt components used by generation skills
  - `structure_outline` object: UI-facing content structure outline
  - `metadata` object: Discovery metadata such as audience, tone, CTA behavior, and constraints

## Response `200`

Successful Zevari API response.

- ZevariResponseEnvelope
  - `ok` boolean, required: False when the underlying tool reports an error or a partial failure.
  - `method` string, required: Public API method name.
  - `data` unknown, required
  - `request_id` string, required: Request correlation ID. Also returned in X-Zevari-Request-Id.

## Other responses

- `400`: Invalid arguments or method execution error.
- `401`: Missing, invalid, expired, revoked, or unauthorized API key.
- `404`: Unknown or non-public Zevari API method.
- `429`: API key rate limit exceeded.
- `500`: Unhandled server error.

---

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