Forms

The Forms API is the engine behind every customisable form on the platform — it manages form definitions with their fields and lifecycle state, the re-usable document templates that derive rendered documents from them, and the per-user implementations that capture answers progressively through to completion.

Domain model

  • Forms — top-level form definitions: fields, validation, lifecycle state.
  • Implementations — a user's instance of a form. Saves answers progressively and can be marked complete.
  • Implementation documents — generated documents (e.g. PDFs) produced from a template against a completed implementation.
  • Templates — re-usable document templates bound to forms; each template can render a document for a given implementation.
  • Form fields — per-field metadata, including compatibility checks and bulk import/export of field definitions.
  • Files — file uploads referenced by form fields.
  • Option presets — reusable lists of options that fields with select/dropdown semantics can pull from.

Endpoints

Forms

Implementations

Implementation documents

Templates

Form fields

Files

Option presets