---
title: "Get the active form definition"
method: GET
path: "/api/forms/{formId}/definition"
tags: ["Forms"]
---

# Get the active form definition

`GET /api/forms/{formId}/definition`

Gets the active form definition for a given form.

## Path parameters

- `formId` integer, required

## Response `200`

Active form definition retrieved successfully.

- FormDefinitionModel — Model of a form definition.
  - `id` string, nullable — The ID of the form definition.
  - `isDraft` boolean — Indicates if the form definition is a draft.
  - `jsonData` string, nullable — The JSON data of the form definition.
  - `formId` string, nullable — The ID of the associated form.
  - `createdAt` string, date-time — The date and time when the form definition was created.
  - `modifiedAt` string, date-time, nullable — The date and time when the form definition was last modified.
  - `themeModel` string, nullable — The model of the associated theme stored as a stringified JSON object.
  - `customQuestions` string[], nullable — The list of custom questions' JSON data associated with this form definition.
  - `requiresReCaptcha` boolean, nullable — Indicates if reCAPTCHA is enabled for this form definition.

## Other responses

- `400` — Invalid input data.

---

[API](https://skmtc.net/endatix/apis/endatix-platform-rest-api.md) · [All operations](https://skmtc.net/endatix/apis/endatix-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/endatix/endatix-platform-rest-api/versions/849553bde436/schema)
