Parameters
JSON body
Request body
application/jsoncodestringRequiredCurrent form code (used to find the form).
contact-forminfoobjectRequirednamestringRequiredNew form name.
Contact FormcodestringRequiredNew form code. Auto-suffixed if it conflicts with another form.
contact-formactivebooleanRequiredWhether the form is active.
truedescriptionstringOptionalForm description.
General inquiry formfieldsobject[]RequiredkeystringRequiredField key (must match an existing field).
emailtypestringRequiredField input type (text, textarea, select, date, etc.).
textlabelstringRequiredField label.
Email addresshelperTextstringOptionalHelper text below the field.
Enter your work emailrequiredbooleanRequiredWhether the field is required.
truedefaultValuestringOptionalDefault value.
optionsobjectRequiredOptions for select/radio fields (key → label).
activebooleanRequiredWhether the field is active.
positionnumberRequiredDisplay order (0-based).