---
title: "Update a monitor"
method: PATCH
path: "/v1/monitors/{monitor_id}"
tags: ["Monitors"]
---

# Update a monitor

`PATCH /v1/monitors/{monitor_id}`

## Request

- Base URL: `https://api.captapi.com`
- URL: `https://api.captapi.com/v1/monitors/{monitor_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Change name, params, interval_minutes, webhook_url or active. Changing params resets the seen-items baseline so the next run does not flood your webhook. Free.

## Path parameters

- `monitor_id` string, required

## Request body

- MonitorUpdate
  - `name` string, nullable
  - `params` object, nullable
  - `interval_minutes` integer, nullable
  - `webhook_url` string, nullable
  - `active` boolean, nullable

## Response `200`

Success.

- object
  - `success` unknown, required
  - `data` object, required
    - `id` string
    - `name` string
    - `endpoint` string
    - `params` object
      - `url` string
    - `interval_minutes` integer
    - `webhook_url` string
    - `active` boolean
    - `next_run_at` string
    - `created_at` string

## Other responses

- `400`: Bad request: wrong platform URL, unknown endpoint, or an invalid parameter value. Not billed.
- `401`: Missing, invalid or revoked API key. Not billed.
- `404`: The resource does not exist or is not public. Not billed.
- `422`: A required parameter is missing or has the wrong type. Not billed.
- `429`: Rate limit reached. Wait for Retry-After seconds. Not billed.

---

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