---
title: "List the published form templates"
method: GET
path: "/v1/form-templates"
tags: ["Forms"]
---

# List the published form templates

`GET /v1/form-templates`

## Request

- Base URL: `https://sign-api.tvarka.pro`
- URL: `https://sign-api.tvarka.pro/v1/form-templates`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://sign-api.tvarka.pro/oauth/authorize`, token URL `https://sign-api.tvarka.pro/oauth/token`, scopes: `sign.read`, `sign.signings`)

The newest published version of each of the workspace's own form
templates and of each statutory template it adopted, with the fields
a request can prefill (v1.16.0).

## Response `200`

The published template versions.

- object
  - `formTemplates` FormTemplateVersion[]
    - `templateId` string, uuid, required
    - `templateVersionId` string, uuid, required
    - `title` string, required
    - `kind` 'own' | 'statutory', required
    - `version` integer, required
    - `publishedAt` string, date-time, nullable
    - `legalBasis` FormLegalBasis[], required
      - `title` string
      - `article` string
      - `url` string, uri
    - `approvingAct` FormLegalBasis
      - `title` string
      - `article` string
      - `url` string, uri
    - `asksFiller` boolean: The person is asked whether a parent or guardian fills the forms.
    - `fields` FormField[], required
      - `key` string, required: The semantic identifier
      - `type` 'text' | 'number' | 'email' | 'phone' | 'date' | 'dropdown' | 'radio' | 'checkbox' | 'attachment' | 'barcode' | 'drawing', required
      - `label` string, required
      - `required` boolean, required
      - `group` string: Fields with one group share one value.
      - `options` string[]
      - `preset` 'countries'

## Other responses

- `401`: An RFC 9457 problem document.
- `402`: An RFC 9457 problem document.
- `403`: An RFC 9457 problem document.
- `429`: An RFC 9457 problem document.
- `503`: An RFC 9457 problem document.

---

[API](https://skmtc.dev/tvarka/apis/tvarka-sign-api.md) · [All operations](https://skmtc.dev/tvarka/apis/tvarka-sign-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tvarka/apis/tvarka-sign-api/revisions/e3fdd995c013?raw)
