---
title: "Create Version"
method: POST
path: "/companies/{company_id}/templates/{template_id}/versions"
tags: ["creatives"]
---

# Create Version

`POST /companies/{company_id}/templates/{template_id}/versions`

## Request

- Base URL: `https://app.zalster.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zalster.com/companies/{company_id}/templates/{template_id}/versions`
- Auth: none declared

## Path parameters

- `company_id` string, uuid, required: Company id
- `template_id` string, uuid, required

## Request body

- TemplateVersionCreate
  - `document` object, required
  - `notes` string, nullable
  - `activate` boolean

## Response `201`

Successful Response

- TemplateVersionOut
  - `id` string, uuid, required
  - `template_id` string, uuid, required
  - `version` integer, required
  - `document` object, required
  - `document_hash` string, required
  - `notes` string, nullable, required
  - `created_by` string, uuid, nullable
  - `created_by_name` string, nullable
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zalster/apis/zalster-feed-processor.md) - [All operations](https://skmtc.dev/zalster/apis/zalster-feed-processor/llms.txt) - [OpenAPI document](https://skmtc.dev/zalster/apis/zalster-feed-processor/revisions/d0b9dc66ad36?raw)
