Add a form field
Forms
Add a form field
Adds a question to a form (on its first page). SINGLE_OPTION / MULTIPLE_OPTION fields require a non-empty values list of allowed options. Returns the updated field list.
POST
Add a form field
Authorizations
API key for authentication. Get yours at app.heffl.com/settings/developers
Path Parameters
Form ID (frm_ prefix)
Body
application/json
Question label shown to respondents
Field data type. SINGLE_OPTION / MULTIPLE_OPTION require values.
Available options:
TEXT, LONG_TEXT, EMAIL, MOBILE, NUMBER, DATE, SINGLE_OPTION, MULTIPLE_OPTION, FILE_PICKER, SIGNATURE, CURRENCY, LINK, RATING, OPINION_SCALE Optional help text under the question
Whether an answer is required. Defaults to false.
Optional input placeholder
Allowed options. Required (non-empty) for SINGLE_OPTION and MULTIPLE_OPTION fields.
Extra config for RATING / OPINION_SCALE fields (e.g. { max: 5 }).