Create fields in form
documentedCreate fields in a form.
POST /wp-json/frm/v2/forms/{form_id}/fieldsFormsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$host}}/wp-json/frm/v2/forms/{{$form_id}}/fields" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"fields": [{"type": "{{$type}}", "name": "{{$field_name}}", "description": "{{$description}}", "required": {{$required}}, "field_order": {{$field_order}}, "field_key": "{{$field_key}}", "options": {{$options}}}]}'