---
title: "Commit Template"
method: PATCH
path: "/v2/{workspace}/template/{template_slug}/commit/"
---

# Commit Template

`PATCH /v2/{workspace}/template/{template_slug}/commit/`

Commit the current draft version, making it live. All draft changes across all channels and variants are published as a new version.

For WhatsApp and SMS (DLT) variants, committing moves them to **Approval Pending** state instead of going live immediately.

## Path parameters

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

## Query parameters

- `commit_message` string

## Request body

- object

## Response `200`

Template committed successfully. Returns the updated template detail.

- object

## Other responses

- `401` — Authentication failed
- `404` — Resource not found

---

[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)
