Skip to main content
PATCH
/
catchAll
/
monitors
/
{monitor_id}
Update monitor
curl --request PATCH \
  --url https://catchall.newscatcherapi.com/catchAll/monitors/{monitor_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "webhook_ids": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  ]
}
'
{
  "monitor_id": "3fec5b07-8786-46d7-9486-d43ff67eccd4",
  "status": "Monitor updated Successfully"
}

Authorizations

x-api-key
string
header
required

API key for authentication.

Path Parameters

monitor_id
string<uuid>
required

Monitor identifier.

Body

application/json
webhook_ids
string<uuid>[]

Updated list of centralized webhook IDs for this monitor.

Replaces all existing webhook assignments. Pass an empty array [] to clear all assignments. Omit to leave existing assignments unchanged.

Example:
["a1b2c3d4-e5f6-7890-abcd-ef1234567890"]
limit
integer

Updated maximum number of records per monitor run.

Required range: x >= 10

Response

Monitor updated successfully

monitor_id
string<uuid>
required

Monitor identifier.

Example:

"3fec5b07-8786-46d7-9486-d43ff67eccd4"

status
string
default:Monitor updated Successfully
required

Confirmation message.

Example:

"Monitor updated Successfully"