---
title: "Edit Monitor Webhook URL"
method: PATCH
path: "/monitors/{monitor_id}"
tags: ["Monitoring API"]
---

# Edit Monitor Webhook URL

`PATCH /monitors/{monitor_id}`

Used to update or remove a monitor-specific webhook_url. This only updates the webhook URL value associated with a single monitor and does not change your global webhook URL. When monitor-specific webhook is not set, all webhook requests will be routed to your global webhook URL.

## Path parameters

- `monitor_id` string, required

## Request body

- object
  - `webhook_url` string, uri, nullable, required — New webhook URL for this monitor. Pass null to remove monitor-specific webhook.

## Response `200`

Webhook URL successfully updated

- object
  - `status` string
  - `data` Monitor — Represents a monitor configuration
    - `id` string, required — Unique identifier for the monitor
    - `created_at` string, date-time, required — The UTC datetime when the monitor was created
    - `monitor_type` 'user_tweets' | 'user_following' | 'user_profile' | 'search_pump_fun', required — Type of monitor
    - `webhook_url` string, uri, nullable — Monitor-specific webhook URL that overrides the global webhook URL, if set
    - `parameters` object, required — Configuration parameters specific to the type of monitor

## Other responses

- `404` — Monitor not found
- `422` — Validation failed (e.g. invalid URL format)
- `500` — API internal error.

---

[API](https://skmtc.dev/socialdata-api/apis/socialdata-api-reference.md) · [All operations](https://skmtc.dev/socialdata-api/apis/socialdata-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socialdata-api/socialdata-api-reference/revisions/a898522f71ac/schema)
