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": {
    "url": "https://new-endpoint.com/webhook",
    "method": "POST",
    "headers": {
      "Authorization": "Bearer new_token_xyz"
    }
  }
}
'
{
  "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
object

Updated webhook configuration.

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"