Skip to main content

Prerequisites

  • A Tally account
  • An API key

Request

To create a form with a dropdown, you’ll need to send a POST request with the form blocks, including the dropdown options. Each option is represented as a DROPDOWN_OPTION block.
All dropdown options must share the same groupUuid. This groups them together as options for the same dropdown. Each option needs a sequential index (starting at 0), and the isFirst/isLast flags must be true on the first and last option respectively (false everywhere else).

Response

The API will respond with a 200 status code and return the newly created form:
Your form will now be created with a dropdown containing the three color options.
Form with dropdown (builder view)

Form with dropdown (respondent view)