cURL
curl --request PUT \ --url https://api.decodahealth.com/forms/form/{form_id}/insert-block \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data ' { "id": "<string>", "formId": "<string>", "position": 123, "blockType": "DYNAMIC", "name": "<string>", "description": "<string>", "questions": [], "isArchived": false } '
{ "id": "<string>", "name": "<string>", "pathName": "<string>", "description": "<string>", "blocks": [] }
The tenant you are making this request on behalf of
Your api key
DYNAMIC
DEMOGRAPHICS
INSURANCE
PAYMENT_METHODS
MEDICAL_HISTORY
Show child attributes
Successful Response