---
title: "Watch a file; each change is delivered with old and new values"
method: POST
path: "/v1/monitors"
tags: ["monitors"]
---

# Watch a file; each change is delivered with old and new values

`POST /v1/monitors`

## Request

- Base URL: `https://jid.com`
- URL: `https://jid.com/v1/monitors`
- Auth: HTTP bearer

## Request body

- object
  - `entity_id` string, required
  - `webhook_url` string, uri
  - `email` string, email

## Response `201`

Created. webhook_secret is returned once.

- object

## Other responses

- `400`: Error
- `401`: Error
- `402`: Error
- `404`: Error

---

[API](https://skmtc.dev/jid/apis/jid-api.md) · [All operations](https://skmtc.dev/jid/apis/jid-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jid/apis/jid-api/revisions/453a19ce3d5d?raw)
