Skip to content

Create a document from a template

POST
/v1/document-templates/{templateId}/documents
curl --request POST \
--url https://api.varman.io/v1/document-templates/example/documents \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "reviewCadence": "monthly" }'

Creates a draft document from a template, filling sections from live org data (risks, vendors, assets, people and more) and marking what is left to complete. Opens in the policy editor; no employee sign off.

templateId
required
string
X-Organization-Id
string
Media typeapplication/json
object
reviewCadence

Optional review cadence. When set, a recurring review task is created with the first due date one cadence from today and shown on the Security Calendar.

string
Allowed values: monthly quarterly yearly

Example

yearly