Forms
Retrieve your forms and submit responses through the Markit API
The forms resource allows you to handle Retrieve related functionality to view the forms on your account. To submit a response to a form, see Submit Form on the Data Capture resource.
The following actions can be performed on this resource:
- Retrieve All Forms
- Retrieve a Single Form
Retrieve All Forms
Retrieves all forms on your account.
You can include additional parameters in the request as described in the Query Parameters section. For instance, the request below will return forms with a createdAt of "asc" (ascending).
Available query parameters:
- limit: 20 (default)
- offset: 0 (default)
- createdAt: ‘desc’ | ‘asc’ (default = ‘desc’)
A form is returned with the same fields as an event. The form's data questions are available on the formQuestions array inside the form's customTickets object. Forms have an eventType of "Generic Link With Data", an empty start and end, and an externalLink set to the redirect link (if configured).
Example Response:
Retrieve a Single Form
Retrieves a single form with the form ID equal to {id}. Returns a 404 if the ID does not exist or is not a form.
Example Response: