Skip to main content

Prerequisites

  • A Tally account
  • An API key

Request

To create the form, send a POST request to the /forms endpoint with the following payload:
This example adds in total 7 blocks to the form:
  1. The form title
  2. A title block for the name field
  3. A required text input block for the name field
  4. A title block for the email field
  5. A required email input block for the email field
  6. A title block for the message field
  7. A required large text input block for the message field

Response

The API will respond with a 201 status code and with some form meta data:
The form that was created should now show up in the Tally dashboard & look like this.
Create a contact form