Contact
For developers / REST API
  1. Home
  2. Database for Contact Form 7
  3. For developers
  4. REST API
For developers

REST API

1 min readUpdated Nov 3, 2026

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.

RouteMethodNeeds
/entriesGETview
/entries/{id}GET, POSTview; edit to POST
/entries/bulkPOSTedit (delete for trash, restore, delete)
/entries/{id}/notes, /notes/{id}POST, DELETEedit
/files/{id}DELETEdelete
/forms, /analytics, /columns, /tourGET, POST, DELETEview
/forms/{cf7 id}/trackingPOSTmanage settings
/settings, /diagnostics, /tools/retention, /shortcodes/previewGET, POST, DELETEmanage settings
/import/preview, /import/runPOSTimport
/scGETpublic, 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.