Appearance
Create Field
Create a new field configuration for the target path. Fields are reusable input definitions that can be included in field groups and object schemas. Requires ADMIN permissions.
Parameters
| name * are required parameters | data type | description |
|---|---|---|
body.name* | string | The display name of the field |
body.type* | string | The field type (e.g., text, number, date, select) |
body.label | string | Label shown to users in forms |
body.options | object[] | Options for select/radio field types |
body.required | boolean | Whether the field is required |
Return Value
The created field configuration.
Examples
bash
curl -X POST "https://app.wombat.software/api/{targetPath}/field" \
-H "Content-Type: application/json" \
-H "Authentication: Bearer ..." \
-d '{"name": "incident_date", "type": "date", "label": "Incident Date", "required": true}'ENDPOINTS
post
/api/{targetPath}/field