LeadFormQuestion

An object describing a lead form question.

Field nameTypeConditionsDescription
is_requiredbooleanreadablewritableFlag indicating whether the user must answer the question. Currently, all questions are required, so this flag must be set to true.
textstringreadablewritablerequiredmax_length=68Question text
typestringreadablewritablerequired
choices =
  • one_answer - A question where only one answer option can be selected
  • multiple_answers - A question where multiple answer options can be selected
  • text_answer - A question with a free-text answer
Question type
answerslist of Answerreadablewritablerequiredmax_items=7List of answer options. For questions with type=text_answer, answer options should not be provided. For all other types, at least 2 answer options are required. Special option types must not be duplicated among the options.