Skip to main content
POST
/
forms
Create Form
curl --request POST \
  --url https://api.decodahealth.com/forms \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "id": "<string>",
  "name": "<string>",
  "pathName": "<string>",
  "description": "<string>",
  "blocks": []
}
'
{
  "id": "<string>",
  "name": "<string>",
  "pathName": "<string>",
  "description": "<string>",
  "blocks": []
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
id
string
required
name
string
required
pathName
string
required
description
string | null
blocks
BlockDetail · object[]

Response

Successful Response

id
string
required
name
string
required
pathName
string
required
description
string | null
blocks
BlockDetail · object[]