---
title: "Publish Document Template"
method: POST
path: "/api/sales/document-templates"
tags: ["org_documents"]
---

# Publish Document Template

`POST /api/sales/document-templates`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/sales/document-templates`
- Auth: none declared

Publish the draft as the kind's next version and make it live. A
Word template is the uploaded .docx, or (`keep_live_source`) the live
version's own file with new questions or choices.

## Request body `multipart/form-data`

- BodyPublishDocumentTemplateApiSalesDocumentTemplatesPost
  - `kind` string, required
  - `title` string, required
  - `body` string
  - `questions` string
  - `choices` string
  - `changelog` string, required
  - `bump` string
  - `keep_live_source` boolean
  - `file` string, binary, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
