List a template's field definitions.
GET/api/v1/custom-field-templates/{custom_field_template_id}/custom-fieldscustom_fields:read
The whole set is one page; next_cursor is null.
| Scope | custom_fields:read |
| Asynchronous | No |
| MCP tool | list_custom_field_template_fields |
| Portal permissions | view_custom_field_templates |
| Paging | keyset |
| Default order | sort_order, custom_field_id |
| Sort fields | sort_order, custom_field_id |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
custom_field_template_id | path | string | Required | |
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
items | array of object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object or object | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
cursor_expired | 410 |
wrong_region | 421 |
invalid_cursor | 422 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
CalculatedFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
lookup_list | ListReference or null | Required | |
value_type | string or null | Required |
ComboFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
choices_list | ListReference | Required |
CurrencyFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
currency_symbol | string or null | Required | A display-only prefix for the amount (config.currency_symbol); null for none. |
scale | integer or null | Required | |
validation | v1NumericValidation | Required |
CustomDataLookupFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
source | v1CustomDataSource | Required |
CustomFieldReferenceFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
child_custom_field_template_id | string | Required |
DateFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
validation | v1DateValidation | Required |
DocumentLinkFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
settings | object or null | Required |
EmptyFieldVariant
GridLinkReferenceFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
join | v1GridJoin | Required | |
target_custom_field_template_id | string | Required |
LinkedColumnFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
allows_multiple | boolean | Required | |
edit_mode | string | Required | |
extraction | v1ExtractionSettings | Required | |
graph | object or null | Required | |
limit_view | v1LimitView or null | Required | |
relation_code | string or null | Required | |
target_custom_field_template_id | string | Required | |
uses_fuzzy_sort | boolean | Required |
ListReference
| Field | Type | Required | Description |
|---|---|---|---|
lookup_list_id | string or null | Required | |
name | string | Required |
LookupFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
match | v1LookupMatch | Required | |
source_custom_field_template_id | string | Required | |
source_key_custom_field_id | string | Required | |
source_value_custom_field_id | string | Required |
LookupListFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
lookup_list | ListReference | Required |
LookupListMultiFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
lookup_list | ListReference | Required | |
validation | v1SelectionValidation | Required |
MatrixCalculationFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
axes | v1MatrixAxes | Required | |
rows | array of v1MatrixRowDefinition | Required |
MultiValueFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
choices_list | ListReference | Required | |
validation | v1SelectionValidation | Required |
NumericFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
scale | integer or null | Required | |
validation | v1NumericValidation | Required |
SequentialRefFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
sequence_template | string or null | Required |
TextFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
validation | v1TextValidation | Required |
VirtualFieldLookupFieldVariant
| Field | Type | Required | Description |
|---|---|---|---|
virtual_custom_field_id | string | Required |
v1CustomDataSQL
| Field | Type | Required | Description |
|---|---|---|---|
sql | string or null | Required |
v1CustomDataSource
| Field | Type | Required | Description |
|---|---|---|---|
lookup_list | ListReference or null | Required | For lookup_list: the list by ID and name. lookup_list_id is null for a legacy list, which is kept by its name. |
sql | v1CustomDataSQL or null | Required | |
type | string | Required | lookup_list or sql. |
v1CustomFieldRef
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_id | string | Required |
v1DateValidation
| Field | Type | Required | Description |
|---|---|---|---|
max_date | string or null | Required | |
max_date_offset_days | integer or null | Required | |
message | string or null | Required | The message shown in place of the default when a rule fails. |
min_date | string or null | Required | |
min_date_offset_days | integer or null | Required | |
no_future | boolean or null | Required | |
no_past | boolean or null | Required | |
required | boolean or null | Required | Reject an empty or blank value (a validation rule, apart from is_required). |
v1DocumentFieldRef
| Field | Type | Required | Description |
|---|---|---|---|
document_field_id | string | Required |
v1ExtractionSettings
| Field | Type | Required | Description |
|---|---|---|---|
is_enabled | boolean | Required | |
prompt | string | Required | |
runs_on_extraction | boolean | Required |
v1FieldTextLimit
| Field | Type | Required | Description |
|---|---|---|---|
encoding | string | Required | |
max_length | integer | Required | ≥ -2147483648; ≤ 2147483647 |
unit | string | Required |
v1GridJoin
| Field | Type | Required | Description |
|---|---|---|---|
columns | object or null | Required | |
type | string | Required |
v1GridJoinPair
| Field | Type | Required | Description |
|---|---|---|---|
source | v1CustomFieldRef or null | Required | |
target | v1CustomFieldRef or null | Required |
v1LimitView
| Field | Type | Required | Description |
|---|---|---|---|
virtual_view_id | string | Required |
v1LookupMatch
| Field | Type | Required | Description |
|---|---|---|---|
custom_field | v1CustomFieldRef or null | Required | |
document_field | v1DocumentFieldRef or null | Required | |
type | string | Required |
v1MatrixAxes
| Field | Type | Required | Description |
|---|---|---|---|
axis_a | v1CustomFieldRef | Required | |
axis_b | v1CustomFieldRef | Required |
v1MatrixRowDefinition
| Field | Type | Required | Description |
|---|---|---|---|
a_condition | string | Required | |
a_operator | string | Required | |
b_condition | string | Required | |
b_operator | string | Required | |
colour | string | Required | |
value | string | Required |
v1NumericValidation
| Field | Type | Required | Description |
|---|---|---|---|
allow_negative | boolean or null | Required | |
allow_zero | boolean or null | Required | |
decimal_places | integer or null | Required | |
integer_only | boolean or null | Required | |
max | string or null | Required | |
message | string or null | Required | The message shown in place of the default when a rule fails. |
min | string or null | Required | |
required | boolean or null | Required | Reject an empty or blank value (a validation rule, apart from is_required). |
step | string or null | Required |
v1Refetch
| Field | Type | Required | Description |
|---|---|---|---|
mode | string | Required | |
on_custom_field_ids | array of v1CustomFieldRef | Required |
v1SelectionValidation
| Field | Type | Required | Description |
|---|---|---|---|
max_selections | integer or null | Required | |
message | string or null | Required | The message shown in place of the default when a rule fails. |
min_selections | integer or null | Required | |
required | boolean or null | Required | Reject an empty or blank value (a validation rule, apart from is_required). |
v1TextValidation
| Field | Type | Required | Description |
|---|---|---|---|
max_length | integer or null | Required | |
message | string or null | Required | The message shown in place of the default when a rule fails. |
min_length | integer or null | Required | |
pattern | string or null | Required | |
pattern_flags | string or null | Required | |
pattern_preset | string or null | Required | |
required | boolean or null | Required | Reject an empty or blank value (a validation rule, apart from is_required). |
trim | boolean or null | Required |