## Setup status

Whether your integration works, as an endpoint: the same answer as the dashboard’s Get started page, for you or the AI coding tool setting it up.

`GET /v1/setup` — authenticate with the API key, as for `/v1/usage`. Submit your form once, then ask: `status` says what the latest check of the last 7 days carried (`complete` when both the network and the browser part arrived, otherwise what was missing or refused), `message` says it in one sentence and `next_step` says what to fix, or is `null` when nothing is left. An AI coding tool can ask after each change until `status` is `complete`; the setup instructions the dashboard copies for it say so.

```
curl https://maskbreak.com/v1/setup \
  -H "Authorization: Bearer $MASKBREAK_API_KEY"

{
  "status": "missing_device",    // complete | waiting | missing_network | missing_device | …
  "complete": false,             // true once a complete live-key check has arrived
  "message": "A check arrived, but the browser part is missing.",
  "next_step": "Likely fix: keep the script line on the page with your form, and send sentinel_fp along with monocle from your server. …",
  "last_check_at": "2026-10-27T10:14:03.000Z",
  "complete_checks": 0,
  "last_complete_at": null,
  "website": { "confirmed": false, "origin": null },
  "script_seen": { "origin": "https://shop.acme.io", "at": "2026-10-27T10:13:58.000Z" },
  "site_id": null,               // your data-site value, once the dashboard has made it
  "key_type": "live",
  "docs": "https://maskbreak.com/integrate.md"
}
```

`status` is one of `waiting` (no check in the last 7 days and none complete before), `complete`, `missing_network`, `network_unavailable`, `missing_device`, `device_unavailable`, `test_mode`, `test_complete` (complete, but with the test key), `ip_restricted`, `rate_limited` (an hourly limit was reached; no account has one since 29 October 2026), `monthly_quota_exceeded` (this month’s checks are used up: `next_step` links to the plan that raises the allowance) or `request_failed`. `complete` turns `true` with the first complete check sent with the live key; `website.confirmed` needs one from your public website (a check from `localhost` works but confirms none). `script_seen` says where the script last loaded, a hint only. `site_id` is your `data-site` value: use it, never an ID from an example. Both key types read the same account; `key_type` says which asked. Added on 27 October 2026.

**Limits.** `/v1/setup` consumes no quota but is limited to 120 reads a minute per address (429 with `Retry-After`) and shares the invalid-key lockout. It reads your own account’s setup state only. Suspension returns 403; the key’s IP allowlist is not enforced.
