REST API
The admin screens use a REST API under /wp-json/nbwpas-fem/v1/. Every route checks a capability in its permission callback; browser requests need the usual X-WP-Nonce header, and other clients can use application passwords.
| Route | Method | Needs |
|---|---|---|
/entries | GET | view |
/entries/{id} | GET, POST | view; edit to POST |
/entries/bulk | POST | edit (delete for trash, restore, delete) |
/entries/{id}/notes, /notes/{id} | POST, DELETE | edit |
/files/{id} | DELETE | delete |
/forms, /analytics, /columns, /tour | GET, POST, DELETE | view |
/forms/{cf7 id}/tracking | POST | manage settings |
/settings, /diagnostics, /tools/retention, /shortcodes/preview | GET, POST, DELETE | manage settings |
/import/preview, /import/run | POST | import |
/sc | GET | public, signed attributes (used by the shortcode) |
GET /entries accepts form_id, view (all, unread, starred, trash), search, search_field (all, id, system, source, screen, ip, or f:<field name>), date_range (today, yesterday, week, 7d, 30d, month, last_month, 6m, year, last_year) or date_from and date_to, is_read, is_starred, has_files, device, browser, os, orderby, order, page and per_page. The response lists the form's columns, the user's chosen columns and one row per entry with its field values. Fields the caller may not see (IP address, notes) are left out.