A new form can be created and configured by navigating to the Forms screen in your project and clicking the ‘Make a Form’ button.

You can start receiving submissions to your form by sending a POST request to the form endpoint: https://forms.iight.io/v1/**{form_id}** (replacing {form_id} with the provided form id).
HTML Example
<form method="POST" action="<https://forms.iight.io/v1/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx>">
<input name="first_name" type="text" required />
<input name="last_name" type="text" required />
<input name="email" type="email" required />
<button type="submit">Send</button>
</form>
iight will handle input validation. An example of this can be seen below.

Upon a successful request the following screen will be displayed.

<aside> 📣
Coming soon We are working on new features to improve the customisability of the validation and success screens.
</aside>
The forms API can also accept and return JSON data. This can be achieved by adding the following headers to the request:
Content-Type: application/jsonAccept: application/jsonJavaScript example