---
title: "Check whether the visual editor will work on a URL"
method: POST
path: "/engagement/editor/precheck"
tags: ["Engagement Editor"]
---

# Check whether the visual editor will work on a URL

`POST /engagement/editor/precheck`

Server-side precheck for the tooltip / product-tour editor.
Fetches the given URL (SSRF-guarded) and reports blockers (COOP, CSP
frame-src, login/cross-origin redirect, invalid URL) so the dashboard can
give the user actionable feedback instead of opening a blank editor.

## Headers

- `project` string, required

## Request body

- EditorPrecheckBody
  - `url` string, required
  - `engagementType` 'tooltips' | 'producttours' — Reserved. Currently ignored; the precheck result does not depend on the engagement type.

## Response `200`

Ok

- EditorPrecheckResult
  - `ok` boolean, required
  - `reachable` boolean, required
  - `finalUrl` string, required
  - `blockers` PrecheckIssue[], required
    - `code` string, required
    - `message` string, required
    - `fix` string, required
    - `docUrl` string
  - `warnings` PrecheckIssue[], required
    - `code` string, required
    - `message` string, required
    - `fix` string, required
    - `docUrl` string

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/2bfe054193b5/schema)
