These routes come with Lumtera Pro. Unless a route says otherwise, its permission check also needs an
activated license. An expired license still counts: features keep working, and only updates and support stop. Some need a plan:
Growth and up for consistency checks and the client portfolio. Signed-in checks are on every plan, for as many roles as the plan allows. See
License.
| Route | Methods | Permission | Plan |
| --- | --- | --- | --- |
| [`/tasks`](#pro-fix-tracking) | GET, POST | `edit_post` on `post_id` | Every plan |
| [`/tasks/{id}`](#pro-fix-tracking) | POST | `edit_post` on the task's post | Every plan |
| [`/tasks/{id}/history`](#pro-fix-tracking) | GET | `edit_post` on the task's post | Every plan |
| [`/tasks/{id}/issue`](#pro-fix-tracking) | POST | `edit_post` on the task's post + a connected tracker + report capability | Every plan |
| [`/assignees`](#pro-fix-tracking) | GET | `edit_posts` (+ `edit_post` on `post_id` if given) | Every plan |
| [`/ignore`](#pro-ignore-rules) | GET, POST | `manage_options` | Every plan |
| [`/ignore/{id}`](#pro-ignore-rules) | DELETE | `manage_options` | Every plan |
| [`/page-checks`](#pro-page-checks) | POST | report capability | Every plan |
| [`/page-checks/{id}`](#pro-page-checks) | GET, DELETE | report capability | Every plan |
| [`/page-checks/schedule`](#pro-page-checks) | GET, POST, PUT, PATCH | report capability | Every plan |
| [`/page-checks/schedule/run`](#pro-page-checks) | POST | report capability | Every plan |
| [`/documents/scan`](#pro-documents) | POST | report capability | Every plan |
| [`/form-flows`](#pro-form-tests) | GET | report capability | Every plan |
| [`/form-flows/arm`](#pro-form-tests) | POST, DELETE | POST: report capability. DELETE: any signed-in user. | Every plan (POST) |
| [`/form-flows/forms`](#pro-form-tests) | POST | report capability | Every plan |
| [`/form-flows/{id}`](#pro-form-tests) | POST, DELETE | report capability | Every plan |
| [`/role-scans`](#pro-signed-in-checks) | GET, POST | `manage_options` | Every plan (roles per plan) |
| [`/role-scans/pass`](#pro-signed-in-checks) | POST | `manage_options` | Every plan (roles per plan) |
| [`/sessions/{id}/items`](#pro-test-sessions) | POST | report capability | Every plan |
| [`/sessions/{id}/env`](#pro-test-sessions) | POST | report capability | Every plan |
| [`/sessions/{id}/signoff`](#pro-test-sessions) | POST | report capability | Every plan |
| [`/sessions/{id}/reopen`](#pro-test-sessions) | POST | `manage_options` | Every plan |
| [`/consistency/run`](#pro-consistency) | POST | report capability | Growth and up |
| [`/remediation/changes`](#pro-fixes-queue) | GET | Propose or approve fixes | Every plan |
| [`/remediation/changes/{id}`](#pro-fixes-queue) | POST | Propose or approve fixes | Every plan |
| [`/remediation/approve`](#pro-fixes-queue) | POST | Approve fixes | Every plan |
| [`/remediation/reject`](#pro-fixes-queue) | POST | Propose or approve fixes | Every plan |
| [`/remediation/apply`](#pro-fixes-queue) | POST | Propose or approve fixes (checked per change) | Every plan |
| [`/remediation/undo`](#pro-fixes-queue) | POST | Propose or approve fixes (checked per change) | Every plan |
| [`/remediation/preview`](#pro-fixes-queue) | GET | Propose or approve fixes | Every plan |
| [`/remediation/propose`](#pro-fixes-queue) | POST | Propose or approve fixes | Every plan |
| [`/remediation/run`](#pro-fixes-queue) | POST | Propose or approve fixes | Every plan |
| [`/remediation/run/cancel`](#pro-fixes-queue) | POST | Propose or approve fixes | Every plan |
| [`/remediation/run/dismiss`](#pro-fixes-queue) | POST | Propose or approve fixes | Every plan |
| [`/portfolio/rescans`](#pro-portfolio) | GET | `manage_options` | Growth and up |
| [`/reports`](#pro-reports) | POST | `manage_options` + Manage client reports (`lumtera_manage_reports`) (license checked in the route) | Every plan; share link Growth and up |
### Fix tracking {#pro-fix-tracking}
| Route | Method | Arguments | Permission |
| --- | --- | --- | --- |
| `/tasks` | GET | `post_id` (required) | `edit_post` |
| `/tasks` | POST | `post_id`, `fingerprint` (required); `assignee` (default 0); `note`; `content` (the block editor's content, to find issues not saved yet) | `edit_post`. Assigning someone else needs `edit_others_posts`. |
| `/tasks/{id}` | POST | `status` (`open`, `in_progress`, `fixed`, `wont_fix`), `assignee`, `note` | `edit_post` on the task's post. `wont_fix` on an error needs the dismiss-errors capability. |
| `/tasks/{id}/history` | GET | | `edit_post` on the task's post |
| `/tasks/{id}/issue` | POST | | `edit_post` on the task's post, a connected issue tracker, and the report capability |
| `/assignees` | GET | `post_id` (optional) | `edit_posts`, and `edit_post` on `post_id` when given |
`POST /tasks` finds the issue on the server by its fingerprint: first in the stored results, then by checking the saved post. `rule`, `severity`, `message` and `context` are still accepted from older clients, but ignored.
**Errors:** 404 `lumtera_pro_finding`, 400 `lumtera_pro_assignee` (that person can't edit the post), 403 `lumtera_pro_assign_others`, `lumtera_pro_wont_fix`.
`GET /tasks` returns an object keyed by fingerprint. A task looks like:
```json
{
"id": 7, "post_id": 42, "fingerprint": "…", "rule": "link-no-name", "title": "Link has no text",
"wcag": "2.4.4", "severity": "error", "message": "…", "context": "…",
"status": "in_progress", "verified": false, "status_label": "In progress",
"assignee": 3, "assignee_name": "Maya", "updated": 1790000000,
"post_title": "Order bread online", "edit_url": "…",
"issue": { "tracker": "github", "tracker_name": "GitHub", "url": "https://github.com/acme/site/issues/12", "key": "#12" }
}
```
`issue` is `null` until an issue is created for the task in a tracker.
`POST /tasks/{id}/issue` creates the task's issue in the connected tracker (GitHub, GitLab, Jira, Linear, Asana, ClickUp or Trello) and returns the task. A task that already has an issue returns it unchanged. **Errors:** 404 `lumtera_pro_tracker_task`, 400 `lumtera_pro_tracker_none`, 409 `lumtera_pro_tracker_busy` (being created right now), 429 when the tracker asks to wait, and 502 for other tracker errors.
History entries are `{ "action", "detail", "user", "time" }`. `/assignees` returns `[ { "id", "name" } ]`. People with `edit_others_posts` get everyone who can edit posts (and, with `post_id`, can edit that post). Everyone else gets only themselves.
### Ignore rules {#pro-ignore-rules}
Rules that hide a finding on every page.
| Route | Method | Notes |
| --- | --- | --- |
| `/ignore` | GET | Every rule, newest first, including expired ones |
| `/ignore` | POST | Adds a rule. Returns it with HTTP 201. |
| `/ignore/{id}` | DELETE | Removes a rule. Returns `{ "deleted": true, "previous": { … } }`. |
**Permission:** `manage_options` and an active license.
| Argument | Type | Required | Notes |
| --- | --- | --- | --- |
| `rule` | string | Yes | The check ID. Whole-page check IDs are accepted too. |
| `match` | `exact` or `pattern` | | Default `exact` |
| `value` | string | Yes | Up to 1,000 characters. For `exact`: the finding's markup, as shown under **Markup**. For `pattern`: an optional tag name followed by `.class` and `#id` parts, such as `a.social-link` or `.cookie-banner`. |
| `reason` | string | Yes | Up to 500 characters. Shown wherever the finding is hidden. |
| `expires` | string or int | | A date (`Y-m-d`, end of that day in the site's time zone) or a Unix time. Empty for never. |
| `severity` | string | | `error`, `warning` or `notice`: the most severe finding the rule may hide. Empty for any. |
A rule looks like:
```json
{
"id": "k3x9q2m7b1zc", "rule": "link-ambiguous-text", "match": "pattern", "value": "a.read-more",
"severity": "", "reason": "Theme archive links; the heading gives context.",
"user": 1, "time": 1790000000, "expires": 0,
"check": "Link text is vague", "by": "Maya", "expired": false
}
```
**Errors** (400 unless noted): `lumtera_pro_ignore_rule`, `lumtera_pro_ignore_match`, `lumtera_pro_ignore_value`, `lumtera_pro_ignore_pattern`, `lumtera_pro_ignore_reason`, `lumtera_pro_ignore_expiry`, `lumtera_pro_ignore_full` (500 rules at most), 409 `lumtera_pro_ignore_exists`, and 404 `lumtera_pro_ignore_missing` on delete.
Adding or removing a rule checks the affected posts again in the background. It also records `issue.ignored_globally` or `issue.unignored_globally` in the activity log.
### Page checks {#pro-page-checks}
| Route | Method | Notes |
| --- | --- | --- |
| `/page-checks` | POST | Stores a browser check. See the arguments below. |
| `/page-checks/{id}` | GET, DELETE | Read one result, or remove it. Removing a desktop result also removes the page from scheduled checks. |
| `/page-checks/schedule` | GET, POST, PUT, PATCH | Read or change the schedule |
| `/page-checks/schedule/run` | POST | Runs one batch of scheduled checks now |
**Permission:** the report capability and an active license.
`POST /page-checks` arguments:
| Argument | Type | Notes |
| --- | --- | --- |
| `url` | string | Required. A page of this site, full or relative (`/about/`). |
| `html` | string | Required. The rendered page, up to 6 MB. |
| `title` | string | Up to 300 characters |
| `findings` | object[] | The audit engine's whole-page findings, up to 500 |
| `viewport` | string | `desktop` (default) or `phone`. A page has one stored result per viewport. |
| `role` | string | For a [signed-in check](#pro-signed-in-checks): the role the page was opened as |
| `scan` | string | For a signed-in check: the `scan` ID from `/role-scans/pass` |
| `contrast`, `layout` | array | Sent by earlier versions of the screen. Still accepted. |
A signed-in result is saved only when the person may manage signed-in checks and `scan` matches a pass they made for that page and role. Otherwise the answer is 403 `lumtera_pro_role`.
A result looks like `{ "id", "url", "title", "errors", "warnings", "notices", "score", "checked", "source", "browser", "viewport", "role", "role_label", "issues": [ … ] }`. `source` is `browser` or `scheduled`. `role` is empty for a signed-out check.
**Errors:** 400 `lumtera_pro_url` (not a page on this site).
`POST /page-checks/schedule` arguments:
| Argument | Type | Required | Notes |
| --- | --- | --- | --- |
| `frequency` | string | Yes | `off`, `daily` or `weekly` |
| `templates` | bool | | Include key page templates |
| `sitemap` | bool | | Also check pages from the site's sitemap |
| `list` | string | | Your own list of addresses, one per line, up to 200,000 characters |
`GET` returns the schedule and its state, including `limit`: the plan's pages per scheduled run (Personal 25, Growth 100, Agency 250, Unlimited 500; `lumtera_pro_limit` filter). Other fields include `pages`, `summary`, `skipped` (list lines left out and why), `running`, `done`, `total`, `last` and `next`.
### Documents {#pro-documents}
`POST /documents/scan` checks PDFs in the Media Library.
| Argument | Type | Default | Notes |
| --- | --- | --- | --- |
| `id` | int | 0 | Check one file |
| `after` | int | 0 | Without `id`: the cursor. Pass the `cursor` from the previous response until `done` is `true`. |
| `paged` | int | 1 | Which page of the results table to return at the end |
**Permission:** the report capability and an active license. **Error:** 404 `lumtera_pro_not_found` (not a PDF).
### Form tests {#pro-form-tests}