---
title: "Create a terms document draft"
method: POST
path: "/accounts/terms/document"
tags: ["Terms"]
---

# Create a terms document draft

`POST /accounts/terms/document`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/terms/document`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/terms/document/post.ts> (a function with typed inputs; its response is checked against the schema)

Starts a draft. Nothing is shown to anyone until it is published. Admin or root.

## Request body

- object
  - `id` string, required: Document id
  - `kind` string, required: Document kind
  - `title` string, required: Title
  - `body` string: Document text
  - `show` object: Rules for when the document is shown

## Response `200`

Success

- object
  - `data` object

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Caller is not an admin or root

## Changes

- **2026-11-12** `700eb1ace61a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/changes/accounts/terms/document/post.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
