Examples
Creating a dropdown
Learn how to create a form with a dropdown using the Tally API
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. The index
field determines the order of the options.
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.