---
title: "Publish the draft"
method: POST
path: "/v1/templates/{templateId}/draft/publish"
tags: ["Template Versions"]
---

# Publish the draft

`POST /v1/templates/{templateId}/draft/publish`

## Request

- Base URL: `https://api.signvoy.com`
- URL: `https://api.signvoy.com/v1/templates/{templateId}/draft/publish`
- Auth: one of:
  - API key in header `X-Workspace-Id`
  - HTTP bearer

Strict engine validation gate. Returns the published version; or throws RuleEngineException with structured diagnostics.

## Path parameters

- `templateId` string, required

## Response `201`

---

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