Skip to content

Forms Management API

Changes to the Forms Management API (/forms/management/v1). Newest first. How versions work is on Releases and versions.

Forms has a management API for your own server, a script or an agent. A management key, made in the Forms app under Settings and Management keys, acts as a role you choose: what it can do is its scopes and that role’s permissions together, and it sees only the forms the role may see. A role that can administer form access cannot be used. read reads forms, versions, the shared library and themes; write also creates forms, changes drafts, restores a draft’s versions and changes themes; publish also changes a form’s status and changes forms that are live or archived. Three scopes no level includes are chosen on their own: submissions (reads respondents’ personal data), handlers (attaches existing plugin instances, so future submissions go there) and erase (deletes a form, with its submissions, or a submission).

The routes are GET /whoami (with the role and its effective permissions), GET /describe (the grammar of a form), forms (list with a status filter, get, get and PUT by external id, create, replace, PATCH /forms/{id}/status, and delete with erase), a form’s versions (list, get, diff, restore), submission fields, submissions (list, get, delete with erase), the shared fields, steps and choice data sets (read, create and replace; no delete), themes, GET /plugin-instances (references only) and a form’s submission handlers and prefill assignment. Every update needs the form’s rowVersion (428 row_version_required, or 409 concurrency_conflict when stale). A form that is not a draft needs the publish scope even to change its content, and its externalId is locked (409 external_id_locked). Activating a form that cannot render is 409 not_eligible_for_publishing, and a successful publish answers with publicUrls. A key cannot submit, edit or create a submission, export submissions, change who may see a form, create or change a plugin instance or make keys. Each key may make 300 requests a minute. To render a form, keep using @ebitex/forms-sdk. See Build and publish forms from your own system.

The @ebitex/mcp server gains a Forms module that uses these routes: see @ebitex/mcp.