Templates

The template's fields (from its sample data)

What no-code tools show as form fields, read from the version's sample data: scalar fields by dotted path, arrays of scalars as list, arrays of objects as line_items with the fields of one item. Up to 200 fields, 6 levels deep. tree has the same fields as a nested form, keys kept exactly. Without sample data the arrays are empty.

get/v1/templates/{id}/fields

Request

  • Base URL: https://api.castpdf.com
  • URL: https://api.castpdf.com/v1/templates/{id}/fields
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The id (UUID).

Query parameters

versionstring

A version number (default: the current one).

Response

OK

template_idstring uuid
versioninteger
tree_truncatedboolean

True when fields were left out of tree: more than 200, deeper than 6 levels, or arrays that mix values and objects.

Changes

No recorded changes to this operation across all 1 revision of this API.