---
title: "Create or Update Template"
method: POST
path: "/v2/{workspace}/template/{template_slug}/"
---

# Create or Update Template

`POST /v2/{workspace}/template/{template_slug}/`

Create a new template or update an existing one. If the template slug already exists, the template metadata is updated. Changes are saved to the draft version.

## Path parameters

- `workspace` string, required
- `template_slug` string, required

## Request body

- object
  - `name` string, required — Template display name.
  - `description` string — Optional description for the template.
  - `tags` string[] — Tags for organising templates.
  - `enabled_channels` string[] — Channels to enable for this template.

## Response `200`

Template created or updated successfully

- object

## Other responses

- `401` — Authentication failed

---

[API](https://skmtc.net/suprsend/apis/suprsend-api.md) · [All operations](https://skmtc.net/suprsend/apis/suprsend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/suprsend/suprsend-api/revisions/a686fddb4e0c/schema)
