Skip to content

ITC Forms 0.15.6Changelog

REST API

ITC Forms uses namespace itc-forms/v1. WordPress cookie authentication with a REST nonce, application passwords, or another normal WordPress authentication provider may be used. There are no anonymous administrative routes.

GET /forms and GET /forms/{id} expose published selector data to editors; draft inventory and all writes require itc_forms_edit_forms. Form creation and updates use POST /forms and POST /forms/{id}. The builder’s normalized schema is authoritative.

GET /entries requires itc_forms_view_entries. It supports page (from 1), per_page (maximum 100), form_id, status, search, ISO dates, orderby, and order. Total counts use WordPress’s X-WP-Total and X-WP-TotalPages headers. GET /entries/{id} includes submitted values and bounded activity, so clients must treat the response as personal data. When site-wide submission metadata capture is enabled, it also includes the submitter IP address and browser user-agent string.

POST, PUT, or PATCH /entries/{id} requires itc_forms_manage_entries. A body may contain read (boolean), status, note, or values plus a mandatory correction reason. Send exactly one operation per request so each audit event has a single atomic purpose. Corrections use the submitted form version for schema validation and create immutable audit metadata. Supplied field keys are merged into the existing answers; omitted answers are retained. Unknown fields, invalid answers and changes to stored file/signature references are rejected before writing. The submitted form version must still be available. The API does not provide an entry-creation shortcut: public submissions must pass the normal cache-safe validation and spam pipeline.

Never place credentials in URLs or logs. Use HTTPS, least-privilege application passwords, rotate credentials, and avoid retaining entry responses outside the site longer than the form’s declared retention period.