---
title: "Update a monitor (pause/resume, interval, notifications)"
method: POST
path: "/v1/monitors/{id}"
---

# Update a monitor (pause/resume, interval, notifications)

`POST /v1/monitors/{id}`

## Request

- Base URL: `https://shotlane.dev`
- URL: `https://shotlane.dev/v1/monitors/{id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `access_key`

## Path parameters

- `id` string, required

## Request body

- object
  - `active` boolean
  - `interval` 'hourly' | '6h' | 'daily' | 'weekly'
  - `notify_email` boolean
  - `webhook_url` string

## Response `200`

Monitor

## Other responses

- `400`: Invalid parameters
- `401`: Invalid API key
- `402`: Out of credits
- `422`: Page could not be rendered

---

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