Update a form
Update basic attributes, fields, locale, timezone, layout or folder placement.
All body attributes are optional; only the provided ones are updated. Theme
changes (including the header_image_keywords auto-palette,
which is create-only) must use PUT /forms/{token}/theme.
How the fields array is reconciled
When a fields array is provided, it replaces the form’s current field list.
For each entry the server uses the optional api_code to decide intent:
api_codeomitted → add a new field; the server auto-generates anapi_code(e.g.field_3).api_codematches an existing field → update that field in place.- An existing field’s
api_codeis absent from the request → that field is removed.
The same rule applies recursively to every api_code-bearing nested object on a
field (most notably choices on choice-type fields, and statements / dimensions /
levels on matrix, likert and cascade): omit the api_code
to add, supply it to update, and skip it to delete.
Required scope: form:write.
Authorizations
Personal Access Token prefixed with fh_. Sent as Authorization: Bearer fh_xxx.
The scope required by each endpoint is listed in that endpoint's description.
Path Parameters
Form token
Body
All attributes are optional; only the provided ones are updated.
New form name.
New form description.
Form locale, e.g. en, zh-CN, it.
IANA timezone name used by the form when interpreting times.
Replaces the form's field list. See the "How the fields array is reconciled" section above for the add / update / delete semantics, and the Form Field schema for the parameters accepted per field type.
A field definition supplied on form create / update. Every field accepts the shared keys
(label, api_code, notes, private, required, ...) plus a set of type-specific keys
determined by its type — see the per-type sections below.
- Short Text
- Long Text
- Radio
- Checkbox
- Dropdown
- Number
- Email
- Phone
- Date
- Name
- URL
- Address
- Rating
- NPS
- Upload
- Cascade
- Ranking
- Matrix Input
- Likert Scale
- Time
- Location
- Signature
- Grid Rating
- Table
- Product
- Booking
- Linked Form
- Page Break
- Description
Form layout. classic (default) supports a solid wallpaper color; card additionally supports a wallpaper background image. Switching layout recomputes the theme palette (dominant color + label/choice/header text colors).
classic, card Target folder token; empty string moves the form to the desktop (root).
Original folder token; used for cross-folder move authorization.
Response
Updated