Skip to main content

List the active custom field templates.

GET/api/v1/custom-field-templatescustom_fields:read

template_type lists one kind of template (Grid, GridLink for registers, or Filter). Inactive templates are not listed.

Scopecustom_fields:read
AsynchronousNo
MCP toollist_custom_field_templates
Portal permissionsview_custom_field_templates
Pagingkeyset
Default ordercustom_field_template_id
Sort fieldscustom_field_template_id
Filterstemplate_type, include_inactive

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
template_typequeryarray of stringOptional
include_inactivequeryarray of booleanOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of CustomFieldTemplateSummaryRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

CustomFieldTemplateSummary​

FieldTypeRequiredDescription
allows_multiplebooleanRequired
auto_extracts_on_uploadbooleanRequiredA document uploaded with this template's document types is extracted automatically.
column_name_rendererVirtualViewReference or nullRequiredA saved query that renders the template's column names (null for none).
commentsstring or nullRequired
custom_field_template_group_idstring or nullRequired
custom_field_template_idstringRequired
display_modeintegerRequired≥ -2147483648; ≤ 2147483647
document_type_idsarray of stringRequired
is_activebooleanRequired
limit_viewVirtualViewReference or nullRequiredA register's limit query: the saved query that lists which of the register's rows a document may link (null for none).
matches_shared_rowsbooleanRequiredOn a project register, a document's linking also offers the register's shared rows (rows with no project).
processes_as_imagebooleanRequiredAI extraction treats each page as an image.
processes_pages_independentlybooleanRequiredAI extraction reads each page of a document on its own.
project_scopestring or nullRequiredproject: the rows of a register belong to the project of the document they are created from; null: the register is shared by every project. Registers only.
template_namestring or nullRequired
template_typestringRequiredGrid, GridLink (a register) or Filter.
uses_only_extracted_tablesbooleanRequiredAI extraction uses only the tables it found in the document.
view_namestring or nullRequiredThe view the template is read through instead of its own storage (an advanced option; null for none).

VirtualViewReference​

FieldTypeRequiredDescription
virtual_view_idstringRequired