---
title: "Check the snippet is installed and allowed to run"
method: POST
path: "/apps/{appId}/check-install"
tags: ["Apps"]
---

# Check the snippet is installed and allowed to run

`POST /apps/{appId}/check-install`

## Request

- Base URL: `https://app.getvigilia.com/v1`
- URL: `https://app.getvigilia.com/v1/apps/{appId}/check-install`
- Auth: HTTP bearer

Fetches the app's pages and verifies that vigilia.js is present and that the site's Content-Security-Policy lets it load and report. Any token can run it.

## Path parameters

- `appId` string, required

## Response `200`

The verdict, per address the app runs on.

- object
  - `installCheck` object, required
    - `checkedAt` integer
    - `ok` boolean: At least one address serves a working snippet.
    - `origins` object[]

## Other responses

- `401`: No token, or not a valid one.
- `404`: No such thing on your account.
- `429`: Too many requests for this token (`rate_limited`), or a Free account's daily requests are used up (`daily_limit`) — wait `Retry-After` seconds.

---

[API](https://skmtc.dev/getvigilia/apis/vigilia-api.md) · [All operations](https://skmtc.dev/getvigilia/apis/vigilia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getvigilia/apis/vigilia-api/revisions/43dd51b3e83a?raw)
