Skip to main content
GET
/
forms
/
{form_id}
/
structure
Get Form Structure
curl --request GET \
  --url https://api.decodahealth.com/forms/{form_id}/structure \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "id": "<string>",
  "name": "<string>",
  "blocks": [
    {
      "name": "<string>",
      "questions": [
        {
          "id": "<string>",
          "questionType": "ADDRESS",
          "name": "<string>",
          "isArchived": true
        }
      ],
      "isArchived": true,
      "position": 123
    }
  ]
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

form_id
string
required

Response

Successful Response

id
string
required
name
string
required
blocks
BlockStructure · object[]
required