Skip to content

Get office template

GET/office/templates/{id}

Returns the full detail of a specific template, including version history and binding configuration.

Request

Path parameters

NameTypeRequiredDescription
idintegerYes

The numeric ID of the template to fetch.

Responses

200 Template detail

Content type application/json, object · OfficeTemplateV1.

FieldTypeRequiredDescription
idintegerNo

Auto-incremented primary key.

namestringNo

Human-readable template name.

statusstringNo

Current publication status.

One of: "draft", "published", "archived"

bindingstringNo

The data binding context this template is designed for (e.g. "invoice", "contract").

template_formatstringNo

Source format of the template body.

One of: "html", "docx", "odt"

output_formatsarray of stringNo

List of output formats that render jobs for this template will produce.

current_versionintegerNo

Latest draft version number.

published_versioninteger, nullableNo

Currently active published version number. Null if never published.

notesstring, nullableNo
created_atstring (date-time)No
updated_atstring (date-time)No

404 Template not found

Example request

curl -X GET "https://{tenant}.faciotech.net/api/v1/office/templates/{id}" \
  -H "Accept: application/json"
Loading