> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prefetch.io/llms.txt
> Use this file to discover all available pages before exploring further.

# monitor.page webhook

> Posted to your webhook for each page that changed, appeared, was removed, or started failing.

## When it's sent

One event for each page that, in a check:

* **changed** since the previous check,
* is **new**, meaning it appeared since the monitor's first check,
* was **removed**: it answers 404 or 410, or a complete crawl no longer finds it,
* or **started failing**. A page that stays down sends one event, not one per check.

Two things are never sent: the first check's baseline, where every page is new, and changes the [judge](https://docs.prefetch.io/monitors/goals.md) ruled not meaningful. Both are still recorded on the check.

`data` is the same page object [`GET /monitor/{id}/checks/{checkId}`](https://docs.prefetch.io/api-reference/endpoint/monitor-check) returns: status, diff, judgment and, in json mode, the current extraction.

## Responding

Answer with any `2xx` within **10 seconds**. A timeout, a `4xx` or `5xx`, or a redirect is retried after **1, 5 and 15 minutes**, then marked failed. Do slow work after you respond.

Retries carry the same `id`, also sent as `X-Prefetch-Delivery`. Store the ids you've handled and skip repeats.

## Verify the signature

Every request carries an `X-Prefetch-Signature` header, signed with the monitor's `webhook.secret`. See [Verify signatures](https://docs.prefetch.io/concepts/webhooks.md#verify-signatures) for the scheme and code in Node.js and Python.

## Headers

| Header | Value |
| - | - |
| `X-Prefetch-Event` | `monitor.page` |
| `X-Prefetch-Delivery` | The delivery id, the same as `id` in the body |
| `X-Prefetch-Signature` | `t=<unix seconds>,v1=<hex HMAC-SHA256>` |
| `User-Agent` | `Prefetch-Webhooks/1.0` |

Any `headers` you set on the monitor's webhook are sent as well.

## Related

> [card] [monitor.check.completed](https://docs.prefetch.io/api-reference/endpoint/monitor-webhook-check.md)
>
> One event per check, with its counts.

> [card] [Monitor alerts](https://docs.prefetch.io/monitors/alerts.md)
>
> Configure the webhook and email alerts.


## OpenAPI

````yaml WEBHOOK monitor.page
openapi: 3.1.0
info:
  title: Prefetch API
  description: >-
    Extract brand identity, company data, screenshots, IAB classifications, and
    clean page content from any URL.
  version: 1.0.0
  contact:
    email: support@prefetch.io
servers:
  - url: https://api.prefetch.io
    description: Production
security:
  - apiKey: []
tags:
  - name: Endpoints
    description: Data extraction endpoints. All require authentication and consume credits.
  - name: Health
    description: Health and readiness probes. No authentication required.
paths: {}
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Prefetch API key. Obtain one from the dashboard.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.