Zum Inhalt springen

Templates

v1 · Last updated 2026-07-17

Diese Dokumentation ist nur auf Englisch verfügbar.

GET/api/v1/:workspace/templates

List templates

Paginated list of templates in a workspace. Returns the standard {templates, meta} envelope; default sort is updatedAt:desc.

Parameters

workspacepathWorkspace slug.required
activequerytrue | false
folderqueryExact folder match. Use "null" for unfoldered.
qqueryCase-insensitive substring on name.
limitquery1 – 100 (default 50)
offsetqueryRows to skip (default 0).
sortByquerycreatedAt | updatedAt | name, suffixed with :asc or :desc.
totalResultsquerytrue to include meta.total.

Response

{
  "templates": [
    {
      "id": "…",
      "workspaceId": "…",
      "name": "Invoice",
      "fields": [
        "…"
      ],
      "active": true,
      "folder": "invoices",
      "updatedAt": "…"
    }
  ],
  "meta": {
    "count": 1,
    "limit": 50,
    "offset": 0,
    "hasMore": false
  }
}
GET/api/v1/:workspace/templatesTry it
/api/v1//templates

Paste an API key above to enable the Send button.

GET/api/v1/:workspace/templates/:id

Get one template

Full template metadata including field placements, schema linkage, and render-time validation switches. See the Schemas section below for what schemaId / jsonSchema / validateData / allowAdditionalData control.

Parameters

workspacepathWorkspace slug.required
idpathTemplate UUID.required

Response

{
  "id": "…",
  "name": "Invoice",
  "fields": [
    "…"
  ],
  "schemaId": "…",
  "jsonSchema": null,
  "validateData": false,
  "allowAdditionalData": false,
  "active": true
}
GET/api/v1/:workspace/templates/:idTry it
/api/v1//templates/

Paste an API key above to enable the Send button.

PATCH/api/v1/:workspace/templates/:id

Update a template

Partial update — send only the fields you want to change; everything else is left as-is. Accepts the same fields as create: name, description, folder, active, fields, schemaId, jsonSchema, validateData, allowAdditionalData, renderer, encryptPassword (null clears it), apiCanSetPassword. Design changes (fields, schema linkage, the default font) create a new template version; settings-only changes don't.

Parameters

workspacepathWorkspace slug.required
idpathTemplate UUID.required

Response

{
  "id": "…",
  "name": "Invoice v2",
  "fields": [
    "…"
  ],
  "active": true
}
PATCH/api/v1/:workspace/templates/:idTry it
/api/v1//templates/

Paste an API key above to enable the Send button.

Need help?

Open a ticket from the in-app Support page, or email [email protected].