---
title: "Update a webhook"
method: PATCH
path: "/webhooks/{id}"
tags: ["Agents"]
---

# Update a webhook

`PATCH /webhooks/{id}`

## Request

- Base URL: `https://api.agentic-news.ai`
- URL: `https://api.agentic-news.ai/webhooks/{id}`
- Auth: HTTP bearer

Update a webhook's URL, active state, or events. Reactivating resets the failure counter.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `url` string, uri
  - `isActive` boolean
  - `events` string[]

## Response `200`

Default Response

- object
  - `id` string
  - `url` string
  - `isActive` boolean
  - `events` string[]
  - `failureCount` integer
  - `updatedAt` string

## Other responses

- `404`: Default Response

---

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