REST API and MCP Tools

October 26, 2026
Developers
8 views
2 min read
Updated October 26, 2026

FormGlut Pro adds a REST API for forms and entries, and MCP tools for AI assistants through the WordPress Abilities API.

Authentication

The API uses WordPress’s own authentication: cookies with a nonce (for code running in the admin), or Application Passwords (Users › Profile › Application Passwords) for outside apps.

Every route checks the same FormGlut permissions as the admin screens, including the role manager and per-form entry access. See Roles and Access.

Base URL

https://example.com/wp-json/formglut-pro/v1

Routes

Method and routeWhat it doesPermission
GET /formsList forms: id, title, status, created date.Create and edit forms, or view entries
GET /forms/{id}One form with its fields (id, type, label, required, options).Create and edit forms, or view entries
GET /entriesEntries of a form.View entries
POST /entriesAdd an entry.Edit, delete and change entries
GET /entries/{id}One entry.View entries
PATCH /entries/{id}Change an entry’s status or starred.Edit, delete and change entries

GET /entries parameters

ParameterWhat it does
form_idRequired. The form.
statusunread, read, spam, trash or a Pro status. Spam and trash are left out by default.
searchSearch text.
per_page1–100. Default 20.
pagePage number.

POST /entries body

{
  "form_id": 3,
  "fields": { "f1a2b3": "Jane Doe", "f4c5d6": "jane@example.com" },
  "notify": true
}

Required fields and email addresses are checked. With "notify": true, the notifications and integrations run as for a normal submission.

Example

curl -u "admin:abcd efgh ijkl mnop qrst uvwx" \
  "https://example.com/wp-json/formglut-pro/v1/entries?form_id=3&per_page=5"

MCP tools (Abilities API)

On WordPress versions with the Abilities API, FormGlut Pro registers these abilities, which MCP clients and AI assistants can call:

AbilityWhat it does
formglut/list-formsAll forms with their IDs and status.
formglut/get-entriesEntries of a form (newest first), optionally filtered by status or a search text.
formglut/submit-entrySave an entry for a form. fields maps field IDs to values.
formglut/form-summaryCounts per answer for the choice fields of a form, and the number of entries.

They use the same permissions as the REST API.

Webhooks for automation apps

For Zapier, Make and n8n subscriptions, see Webhooks, Zapier, Make and n8n.