API Docs / Operations / Client - Documents / Create Document from Template

Create Document from Template

POST /tenants/{tenant}/clients/{client}/clientdocument/from-template

Generates a PDF from a document template using client data and custom token values, then saves it as a client document.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

client* path string
{
  "templateCode": "string",
  "designThemeCode": "string",
  "title": "string",
  "documentCategoryCode": "string",
  "customTokens": {}
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found