Skip to content

getDocumentTemplate

READ

Get document template.

POST /api/v1/settings/getDocumentTemplate
curl -X POST '<your-host>/api/v1/settings/getDocumentTemplate' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentType": "string"
  }'
Response
{
  "blocks": "…",
  "companyId": "string",
  "createdAt": "string",
  "createdBy": "string",
  "documentType": "string",
  "footerSectionId": "string",
  "formatVersion": 0,
  "headerSectionId": "string",
  "id": "string",
  "settings": "…",
  "theme": "…",
  "updatedAt": "string",
  "updatedBy": "string"
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "documentType": {}
  },
  "required": [
    "documentType"
  ]
}