curl --location --request POST 'https://api-35.elogii.com/forms' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"externalId": "BC",
"reference": "components",
"name": "Basic Components",
"description": "Contains all basic components",
"design": {
"id": "root",
"components": [
{
"id": "text-1",
"type": "text",
"containerId": "root",
"config": {
"type": "text",
"input": true,
"label": "Text Input",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Enter text"
}
}
},
{
"id": "number-17",
"type": "number",
"containerId": "root",
"config": {
"type": "number",
"input": true,
"label": "Number Input",
"attributes": {
"required": false,
"disabled": false,
"type": "number",
"placeholder": "Enter number",
"min": 0,
"max": 100,
"step": 1,
"name": "number1"
}
}
},
{
"id": "password-17",
"type": "password",
"containerId": "root",
"config": {
"type": "password",
"input": true,
"label": "Password",
"attributes": {
"required": false,
"disabled": false,
"type": "password",
"placeholder": "Enter password",
"addonBefore": ""
}
}
},
{
"id": "email-17",
"type": "email",
"containerId": "root",
"config": {
"type": "email",
"input": true,
"label": "Email Input",
"attributes": {
"required": false,
"disabled": false,
"type": "email",
"placeholder": "Enter email",
"addonBefore": "@"
}
}
},
{
"id": "patternInput-17",
"type": "patternInput",
"containerId": "root",
"config": {
"type": "patternInput",
"input": true,
"label": "Pattern Input",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Enter text",
"pattern": "^[a-zA-Z0-9]+$"
}
}
},
{
"id": "textarea-1",
"type": "textarea",
"containerId": "root",
"config": {
"type": "textarea",
"input": true,
"label": "Text Area",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Enter long text",
"rows": 4
}
}
},
{
"id": "multiSelect-17",
"type": "multiSelect",
"containerId": "root",
"config": {
"type": "multiSelect",
"input": true,
"label": "Multi Select",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Select options",
"mode": "multiple",
"options": [
{
"label": "Option 1",
"value": "1"
},
{
"label": "Option 2",
"value": "2"
},
{
"label": "Option 3",
"value": "3"
}
]
}
}
},
{
"id": "select-17",
"type": "select",
"containerId": "root",
"config": {
"type": "select",
"input": true,
"label": "Select",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Select option",
"options": [
{
"label": "Option 1",
"value": "1"
},
{
"label": "Option 2",
"value": "2"
}
]
}
}
},
{
"id": "radio-17",
"type": "radio",
"containerId": "root",
"config": {
"type": "radio",
"input": true,
"label": "Radio Group",
"attributes": {
"required": false,
"disabled": false,
"buttonStyle": "solid",
"options": [
{
"label": "Group1",
"value": "1"
},
{
"label": "Group2",
"value": "2"
}
]
}
}
},
{
"id": "checkbox-1",
"type": "checkbox",
"containerId": "root",
"config": {
"type": "checkbox",
"input": true,
"label": "Checkbox Group",
"attributes": {
"required": false,
"disabled": false,
"options": [
{
"label": "Option 1",
"value": "1"
},
{
"label": "Option 2",
"value": "2"
}
]
}
}
},
{
"id": "switch-17",
"type": "switch",
"containerId": "root",
"config": {
"type": "switch",
"input": true,
"label": "Switch",
"attributes": {
"required": false,
"disabled": false
}
}
},
{
"id": "rating-17",
"type": "rating",
"containerId": "root",
"config": {
"type": "rating",
"input": true,
"label": "Rating",
"attributes": {
"required": false,
"disabled": false,
"allowClear": true,
"allowHalf": true,
"count": 5
}
}
},
{
"id": "slider-16",
"type": "slider",
"containerId": "root",
"config": {
"type": "slider",
"input": true,
"label": "Slider",
"showMarks": true,
"attributes": {
"required": false,
"disabled": false,
"min": 0,
"max": 100,
"step": 10,
"dots": true
}
}
},
{
"id": "rangeSlider-17",
"type": "rangeSlider",
"containerId": "root",
"config": {
"type": "rangeSlider",
"input": true,
"label": "Range Slider",
"attributes": {
"required": false,
"disabled": false,
"min": 0,
"max": 100,
"step": 10,
"range": true,
"dots": true,
"defaultValue": [
20,
50
]
}
}
},
{
"id": "datePicker-17",
"type": "datePicker",
"containerId": "root",
"config": {
"type": "datePicker",
"input": true,
"label": "Date",
"attributes": {
"required": false,
"disabled": false,
"format": "YYYY-MM-DD"
}
}
},
{
"id": "dateRangePicker-17",
"type": "dateRangePicker",
"containerId": "root",
"config": {
"type": "dateRangePicker",
"input": true,
"label": "Date Range",
"attributes": {
"required": false,
"disabled": false,
"format": "YYYY-MM-DD"
}
}
},
{
"id": "timePicker-17",
"type": "timePicker",
"containerId": "root",
"config": {
"type": "timePicker",
"input": true,
"label": "Time",
"attributes": {
"required": false,
"disabled": false,
"format": "HH:mm"
}
}
}
]
}
}'{
"organization": "64706d34cb58b5e134516000",
"path": "64706d34cb58b5e134516000",
"externalId": "BC",
"reference": "components",
"name": "Basic Components",
"description": "Contains all basic components",
"tags": [],
"history": [
{
"data": {
"event": "created"
},
"actor": {
"requestId": "1771973803971:ip-10-0-160-220.eu-west-1.compute.internal:31630:mm0yhpo6:21934",
"organizationId": "64706d34cb58b5e134516000",
"organizationSlug": "test",
"userId": "66fc54c4b131823ed5e710bc",
"userType": 30,
"userLevel": 30,
"action": "Forms.create",
"internal": true
}
}
],
"design": {
"id": "root",
"components": [
{
"id": "text-1",
"type": "text",
"containerId": "root",
"config": {
"type": "text",
"input": true,
"label": "Text Input",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Enter text"
}
}
},
{
"id": "number-17",
"type": "number",
"containerId": "root",
"config": {
"type": "number",
"input": true,
"label": "Number Input",
"attributes": {
"required": false,
"disabled": false,
"type": "number",
"placeholder": "Enter number",
"min": 0,
"max": 100,
"step": 1,
"name": "number1"
}
}
},
{
"id": "password-17",
"type": "password",
"containerId": "root",
"config": {
"type": "password",
"input": true,
"label": "Password",
"attributes": {
"required": false,
"disabled": false,
"type": "password",
"placeholder": "Enter password",
"addonBefore": ""
}
}
},
{
"id": "email-17",
"type": "email",
"containerId": "root",
"config": {
"type": "email",
"input": true,
"label": "Email Input",
"attributes": {
"required": false,
"disabled": false,
"type": "email",
"placeholder": "Enter email",
"addonBefore": "@"
}
}
},
{
"id": "patternInput-17",
"type": "patternInput",
"containerId": "root",
"config": {
"type": "patternInput",
"input": true,
"label": "Pattern Input",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Enter text",
"pattern": "^[a-zA-Z0-9]+$"
}
}
},
{
"id": "textarea-1",
"type": "textarea",
"containerId": "root",
"config": {
"type": "textarea",
"input": true,
"label": "Text Area",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Enter long text",
"rows": 4
}
}
},
{
"id": "multiSelect-17",
"type": "multiSelect",
"containerId": "root",
"config": {
"type": "multiSelect",
"input": true,
"label": "Multi Select",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Select options",
"mode": "multiple",
"options": [
{
"label": "Option 1",
"value": "1"
},
{
"label": "Option 2",
"value": "2"
},
{
"label": "Option 3",
"value": "3"
}
]
}
}
},
{
"id": "select-17",
"type": "select",
"containerId": "root",
"config": {
"type": "select",
"input": true,
"label": "Select",
"attributes": {
"required": false,
"disabled": false,
"placeholder": "Select option",
"options": [
{
"label": "Option 1",
"value": "1"
},
{
"label": "Option 2",
"value": "2"
}
]
}
}
},
{
"id": "radio-17",
"type": "radio",
"containerId": "root",
"config": {
"type": "radio",
"input": true,
"label": "Radio Group",
"attributes": {
"required": false,
"disabled": false,
"buttonStyle": "solid",
"options": [
{
"label": "Group1",
"value": "1"
},
{
"label": "Group2",
"value": "2"
}
]
}
}
},
{
"id": "checkbox-1",
"type": "checkbox",
"containerId": "root",
"config": {
"type": "checkbox",
"input": true,
"label": "Checkbox Group",
"attributes": {
"required": false,
"disabled": false,
"options": [
{
"label": "Option 1",
"value": "1"
},
{
"label": "Option 2",
"value": "2"
}
]
}
}
},
{
"id": "switch-17",
"type": "switch",
"containerId": "root",
"config": {
"type": "switch",
"input": true,
"label": "Switch",
"attributes": {
"required": false,
"disabled": false
}
}
},
{
"id": "rating-17",
"type": "rating",
"containerId": "root",
"config": {
"type": "rating",
"input": true,
"label": "Rating",
"attributes": {
"required": false,
"disabled": false,
"allowClear": true,
"allowHalf": true,
"count": 5
}
}
},
{
"id": "slider-16",
"type": "slider",
"containerId": "root",
"config": {
"type": "slider",
"input": true,
"label": "Slider",
"showMarks": true,
"attributes": {
"required": false,
"disabled": false,
"min": 0,
"max": 100,
"step": 10,
"dots": true
}
}
},
{
"id": "rangeSlider-17",
"type": "rangeSlider",
"containerId": "root",
"config": {
"type": "rangeSlider",
"input": true,
"label": "Range Slider",
"attributes": {
"required": false,
"disabled": false,
"min": 0,
"max": 100,
"step": 10,
"range": true,
"dots": true,
"defaultValue": [
20,
50
]
}
}
},
{
"id": "datePicker-17",
"type": "datePicker",
"containerId": "root",
"config": {
"type": "datePicker",
"input": true,
"label": "Date",
"attributes": {
"required": false,
"disabled": false,
"format": "YYYY-MM-DD"
}
}
},
{
"id": "dateRangePicker-17",
"type": "dateRangePicker",
"containerId": "root",
"config": {
"type": "dateRangePicker",
"input": true,
"label": "Date Range",
"attributes": {
"required": false,
"disabled": false,
"format": "YYYY-MM-DD"
}
}
},
{
"id": "timePicker-17",
"type": "timePicker",
"containerId": "root",
"config": {
"type": "timePicker",
"input": true,
"label": "Time",
"attributes": {
"required": false,
"disabled": false,
"format": "HH:mm"
}
}
}
]
},
"_id": "699e2cab7a8607ada3dde988",
"uid": "FORM-QROO4NK7",
"createdAt": "2026-02-24T22:56:43.977Z",
"updatedAt": "2026-02-24T22:56:43.977Z",
"__v": 0
}