Create forms
Form
Create forms
Create one or more new data collection forms with comprehensive configuration options. Requires site manager permissions.
Required Parameters:
name: Unique form name within the organizationdescription: Detailed description of the form’s purposeelements: Array of form elements with their configurationssiteIds: List of sites where this form will be deployed
Form Element Types (11 supported types):
- text: Single-line text input with validation
- number: Numeric input with min/max constraints
- date: Date picker with range validation
- dropdown: Single-select from predefined options
- checkbox: Multiple selection from options
- radio: Single selection from mutually exclusive options
- file: File upload with type and size restrictions
- html: Rich text content and instructions
- section: Organizational grouping of elements
- calculated: Mathematical expressions using other element values
- lookup: Dynamic options from dataset tables
Advanced Features:
- Conditional logic for element visibility
- Period-based data collection (monthly, quarterly, annual)
- Custom validation rules and error messages
- File attachment requirements
- Public access configuration with optional password protection
POST
Create forms
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json

