Can I retrieve the JSON form from camunda?

Hi,
I need to get the form in JSON format is there any way to do it?
example for the response I need

{
  "components": [
    {
      "label": "test",
      "type": "textfield",
      "layout": {
        "row": "Row_0lqqxrt",
        "columns": null
      },
      "id": "Field_0puiy0d",
      "key": "field_1af33a9",
      "defaultValue": "test"
    },
    {
      "action": "reset",
      "label": "Button",
      "type": "button",
      "layout": {
        "row": "Row_1yn8sq4",
        "columns": null
      },
      "id": "Field_0acp12q",
      "key": "field_1pif5qa"
    }
  ],
  "type": "default",
  "id": "form_test",
  "exporter": {
    "name": "Camunda Modeler",
    "version": "5.12.0"
  },
  "executionPlatform": "Camunda Platform",
  "executionPlatformVersion": "7.19.0",
  "schemaVersion": 9
}

Hi @Amal_7612
Yes, it’s possible with Camunda Modeler.

When you save a form in Camunda Modeler by default it has the “form”(for example: test_form.form) extension but if you open it with a simple text editor you will see that it’s actually JSON.

Hope it helps.

Alex

yes, but I’m asking about calling Camunda API to get the JSON.

I never tried it myself but did you try to use the following API?