Skip to content

Central API — list tenant templates

GET/tenants/{tenant_id}/office/templates

Returns all office templates for a specific tenant from the central admin API. Use in the platform admin panel to audit a tenant's template library or diagnose rendering issues without impersonating the tenant.

Request

Path parameters

NameTypeRequiredDescription
tenant_idstringYes

The tenant identifier (subdomain slug).

Responses

200 List of templates for the specified tenant

Content type application/json, array of 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 Tenant not found

Example request

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