Skip to content

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 parametersdata typedescription
body.name*stringThe display name of the field
body.type*stringThe field type (e.g., text, number, date, select)
body.labelstringLabel shown to users in forms
body.optionsobject[]Options for select/radio field types
body.requiredbooleanWhether 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